2017-06-28 11 views
-3

私は敏感なウェブサイトで働いています。大型デスクトップのメディアクエリ

すべての大型デスクトップ用に設計したいと思います。

しかし、大型デスクトップの正確なメディアクエリはわかりません。

+0

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

+0

これは聞いて悪い質問です。 –

+1

"Large Desktop"とは何を定義していますか? –

答えて

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) { 

} 
関連する問題