2017-06-28 69 views
-3

我正在使用響應式網站。大型桌面媒體查詢

我想要爲所有大型桌面設計。

但我不知道大型桌面的確切媒體查詢。

+0

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

+0

這是一個不好的問題要問。請參閱:https://stackoverflow.com/help/mcve –

+1

你定義爲「大型桌面」是什麼? –

回答

0

請嘗試以下操作,它們是默認的引導程序斷點。

/*========== 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) { 

}