mobile tablet desktop media queries

Solutions on MaxInterview for mobile tablet desktop media queries by the best coders in the world

showing results for - "mobile tablet desktop media queries"
Irene
02 Feb 2016
1/* Smartphones (portrait and landscape) ----------- */
2@media only screen 
3and (min-device-width : 320px) 
4and (max-device-width : 480px) {
5  /* Styles */
6}
7
8/* Smartphones (landscape) ----------- */
9@media only screen 
10and (min-width : 321px) {
11  /* Styles */
12}
13
14/* Smartphones (portrait) ----------- */
15@media only screen 
16and (max-width : 320px) {
17  /* Styles */
18}
19
20/* iPads (portrait and landscape) ----------- */
21@media only screen 
22and (min-device-width : 768px) 
23and (max-device-width : 1024px) {
24  /* Styles */
25}
26
27/* iPads (landscape) ----------- */
28@media only screen 
29and (min-device-width : 768px) 
30and (max-device-width : 1024px) 
31and (orientation : landscape) {
32  /* Styles */
33}
34
35/* iPads (portrait) ----------- */
36@media only screen 
37and (min-device-width : 768px) 
38and (max-device-width : 1024px) 
39and (orientation : portrait) {
40  /* Styles */
41}
42
43/* Desktops and laptops ----------- */
44@media only screen 
45and (min-width : 1224px) {
46  /* Styles */
47}
48
49/* Large screens ----------- */
50@media only screen 
51and (min-width : 1824px) {
52  /* Styles */
53}
54
55/* iPhone 4 - 5s ----------- */
56@media
57only screen and (-webkit-min-device-pixel-ratio : 1.5),
58only screen and (min-device-pixel-ratio : 1.5) {
59  /* Styles */
60}
61
62/* iPhone 6 ----------- */
63@media
64only screen and (max-device-width: 667px) 
65only screen and (-webkit-device-pixel-ratio: 2) {
66  /* Styles */
67}
68
69/* iPhone 6+ ----------- */
70@media
71only screen and (min-device-width : 414px) 
72only screen and (-webkit-device-pixel-ratio: 3) {
73  /*** You've spent way too much on a phone ***/
74}
75
76/* Samsung Galaxy S7 Edge ----------- */
77@media only screen
78and (-webkit-min-device-pixel-ratio: 3),
79and (min-resolution: 192dpi)and (max-width:640px) {
80 /* Styles */
81}
82
Octavia
17 Aug 2016
1Syntax:
2
3@media( media feature ) {
4    // CSS Property
5}
6
7The screen resolutions of different devices are listed below:
8
9Mobile (Smartphone) max-width: 480px
10Low Resolution Tablets and ipads max-width: 767px
11Tablets Ipads portrait mode max-width:1024px
12Desktops max-width:1280px
13Huge size (Larger screen) max-width: 1281px and greater
queries leading to this page
media queries for tabletsdesktop only media querymedia query small screen sizecss media queries desktop hd breakpointsmeida query for less than desktopwhat is media query for mobile view and tablet viewmedia queries for mobile 2c computer and tablettablet media query sizecss media query fro mobile and tablethtml data target mobile and desktop differenthow to use mobile phone screen set as media querytablet size cssscreen size for mobile tablet and desktopmobile first media queriesmobile screen media queryrecommended media query for tabletmedia queries tabletmedia queries for mobile screenscss media tablet onlyapply csss if tablet 40media query mobilemedia query for smarphonemedia queries mobile viewmedia query tablet and mobiledesktop screen size in pixels media querymedia quieries for tabletsmedia query 1025media quiries for mobilemobile css sizes mediacss media queries for mobile 40media only screen tablettablet mediaqueriescss media queries tabletsmedia query for both desktop and mobilemedia query less all but mobilemedia for mobilemedia query from desktop to tabletbest media query for mobilemedia query for mobile screenmedia query for devices starting from tablet and lowermedia query css for mobile and tabletmedia query for desktop and laptop and mobilemedis query for tablet an mobilemobile landscape media querymedia query mobile tablet desktopdesktop and mobile media queryingmedia query mobile and tabletmedia query mobile widthmax width for mobile 40media for mobile phonesdesktop media querymedia query for mobile phones portraitmedia query smartphonemedia query of tab or big size mobilemedia mobile screen 26 tabletcss media tablet sizecss for mobile tablet and desktopmedia queries css mobilescreen resolution media query for tablet and mobilescss media queries mobile and desktopall media query css media query desktop and mobileall mobile screen media querymedia queries for mobile devicesmax width for desktop csstab max width cssmedia query in css for tablet and desktopmobile view media querysmobile phone media queriewrite media query for mobilemedia quer from tablet to mobilemobile screen size media querycss for mobile and desktopmediaquery for all mobile and tablet devicesmedia queries for mobiledesktop queriesmedia queries mobile desktopmedia query for small screenbest media query max with for mobilemedia query all devicesmedia query for mobile tablet andtablet width cssmedia query for tablet viewwhat is mobile width and tablet width cssmedia query on mobile media screen mobile and tabletmedia queries desktop and mobilmobile screen all media querymedia query for mobile phonesmedia quries is applying on desktop applied on mobilemedia queries for tablet and desktopmedia 21 3d 3d desktop onlyandroid tablet 10 inch screen media queryhow to create media query for mobile and tabletsmedia queries px mobileemulate mobile media queries windowsmediaquery for mobile viewmedia query mobile view csscss media query mobile onlymedia query phonescss media query max width for mobile table and dekstopmedia queires for desktopcss media queiries for desktop 2c ttale 2c mobilemedia query for tabletscss 40media tabletmedia not desktop onlymedia query phone sizevcss media queries mobile tablet desktopmedia query for mobile and tabletmedia query for mobile view cssmax width for phones cssmobile media query csshow to set query media for desktop view in mobile devicemobile and tablet media querymedia uery for mobiletab max width css media querycss media tablet width desktopcss desktop media querymedia query mobile and talbetmedia query css mobile and tablethow to create media query for mobilewhat media query use for standard tablet viewmedia queries css for mobile and tablettablet media querymedia query for desktop to mobilemobile tablet desktop widthmedia query phone widthbest media query for phonemedia query for mobile phones pocss media screen width and height mobile tablettablet and mobile widthall mobile phones media queriesmedia query for all mobile devicescss 40media phonecss desktop querylandscape media query for mobilebest css media queries for all devicesmediaqueries desktopmedia query mobile css media query desktop sizesmedia query for phonemadia query mobile screen sizemedia query for mobile devices 5cproper media query for tabletmedia css for all devicecss tablet pixelsmedia query for mobile and tablet and desktopcss check for tabletmedia query phone desktopcss media query tablet landscapetablet width media querymedia query for tablet and mobilemedia queries mobilemedia query tablet mobile cssmedia queries for tabletquery onyly mobile and tabletmedia query for tablet devicestablet max width cssmobile css media querymobile and tablet size cssmax width for mobile cssfor mobile media querymedia query css for tablet and mobilecss media queries for all mobilesmedia queries phone tablet desktophow many pixels is tablet cssmin width for mobile devices media querycss pc mobile tablethow to add media queries for tablet mobile and computer screen sizemedia query small mobiletablet and phone media queries cssmedia query for mabile 26tabletis desktop 3f mediaquery 40media query for mobile and tabletcss max width desctopcss media queries for mobile tablet desktopmedia query mobile tabletbetween tablets and desktop media csscss media queries only mobiletablet sizes csscss only tablette screenmedia query tablet sizehow to write media query for mobilemax width for desktopmedia queries css for tablet and mobilemedia query for mobilescss media queries for mobile viewmedia query for mobile and tablets media query css for mobilemedia query tablettecss mobile media query mobile 27tablet and mobile media querymedia query for phone and tablet widthmedia screen css desktop mobilemedia query from small to big devicescss media query mobilemedia query for mobilemedia queries for mobile and tabletmobile desktop view media querymobile view media querymobile size media queryofficial mobile tablet and desktop breakpoints for media querycss media for mobile tablet and desktopmobile tablet desktop screen sizeswhat is the media query for mobilemedia query syntax for mobilecss media queries mobilemedia query mobile shows desktop querymedia query tabletcss device width for tabletmedia query for different mobile devicescss media queries tablet size 40media for desktopcss 40media size tabletmedia query for mobile tablet and desktopmedia query mobile mobile tablet 40media mobile landscape but desktopmobile tabelt and seskotp sozesspecifying media query for phonesmobile screen media querrymedia query max width for mobilebest mobile media querytarget mobile devices cssmedia queries min width 3a for phone 2c tablet 2c laptopmedia query for tablet in css for landscape media query for laptop and desktop screenmedia queries for desktop display on mobile phone mobile screen querymedia query tablet landscape onlymedia query for tablet viewport and usetablet media query csstab screen width and mobile screen widthtablet with cssmedia queries for smartphonesmedia query css mobilemedia quey for mobileexample media query phone tablet desktopmedia query mobile smedia query for laptop and desktopmedia query for tabletmedia query if tablet or mobiletablet view media querytablet size media querymedia query for desktopmobile tablet desktop media queriestablet screen width meda queriecss target desktop onlytablet 768 pxmedia 3c 3e desktop onlytablet width pixels cssmedia queries sizes for phone tablet lptopmedia query to cover all resolutions of desktopcss guidelines for laptop screen 2c mobile screen and tablet screenmedia queries tablet and mobilecss media selector tabletadd media query for mobile and tabletcss desktop sizescss query mobile screencss media queries phone and tablet media query for mobile devicemedia query min and 28max for all devices 29media query for mobile devicescheck media query for tabletmedia tablet cssmedia querie tabletmedia uery mobiletablet and mobile media queriestablet css media querycss tablet media querycss 320 media query mobilemedia screen for mobilecss media queries for android devicesmedia query for mobile and tablet cssmobile phone media querydesktop size media queryhow to add media query for mobilemedia queries mobile firstmediaquery mobilemedia query mobile screenmedia queries for phonesmedia query for mobile viewcss desktop tablet or mobile widthswidth for mobile and laptopmedia queries for mobile tablet and desktopstandard mobile tablet and desktop media querytablet screen size media querymedia query desktopmedia quries for mobiles and tabletsmedia queries for tablet and mobilecss media query not mobilemedia query mobile devicesmedia quiry for mobilemedia query for desktop viewportmedia query for smartphonesmedia query for phonesmedia query to handle mobile and tabletmedia query tablet examplecss tabletmedia query all tabletmedia query for mobile screenscss media tabletmobile tablet desktop media queries cssmobile tablet pc media queriesmorph desktop tablet mobile csssingle media query for phone and tablet widthcss media queries for mobile and tabletall mobile media query 40media mobile and tabletcss mobile media queriesmedia query mobile devicemobile device media querymobile and tablet view css media queryall devices media query desktop firstmedia query for tablet screencss mobile media querymediaquerys phone cssmobile only media querymobile media queryadd media query in css for tablet10 inch tablet media querymedia queries for phonemedia query for mobile cssmedia query for cellphonemedia query css for desktopmedia css pcmedia query mobile desktopphone and desktop screen sizes media querieshow to use media query for mobilemobile phone css media querycss media mobile sizemedia query mobile viewcss media queries for all mobiles and tabletmedia for tablet mobile and desktopmobile media queriesmedia query phone tablet desktopmobile tablet desktop media queries