2017-06-28 5 views
-3

Ich arbeite mit einer responsiven Website.Media Query für große Desktop

Ich möchte für alle großen Desktops entwerfen.

Aber ich kenne die genaue Medienabfrage für große Desktop nicht.

+0

https://responsivedesign.is/develop/browser-feature-support/media-queries-for-common-device-breakpoints/ – sol

+0

Dies ist eine schlechte Frage zu stellen. Bitte beachten Sie: https://stackoverflow.com/help/mcve –

+1

Was definieren Sie als "Large Desktop"? –

Antwort

0

Versuchen Sie Folgendes, sie sind die Standard-Bootstrap-Haltepunkte.

/*========== Mobile First Method ==========*/ 

/* Custom, iPhone Retina */ 
@media only screen and (min-width : 320px) { 

} 

/* Extra Small Devices, Phones */ 
@media only screen and (min-width : 480px) { 

} 

/* Small Devices, Tablets */ 
@media only screen and (min-width : 768px) { 

} 

/* Medium Devices, Desktops */ 
@media only screen and (min-width : 992px) { 

} 

/* Large Devices, Wide Screens */ 
@media only screen and (min-width : 1200px) { 

} 

/*========== Non-Mobile First Method ==========*/ 

/* Large Devices, Wide Screens */ 
@media only screen and (max-width : 1200px) { 

} 

/* Medium Devices, Desktops */ 
@media only screen and (max-width : 992px) { 

} 

/* Small Devices, Tablets */ 
@media only screen and (max-width : 768px) { 

} 

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) { 

} 

/* Custom, iPhone Retina */ 
@media only screen and (max-width : 320px) { 

} 
Verwandte Themen