2016-04-01 14 views
0
私は電話で私のウェブサイトが応答したい

のCSS幅...レスポンシブウェブサイト、種類

私の質問は、私がどのようなタイプの私は@media(CSS)でそれを作るの幅を知りたいです

たとえば電話私は768pxを作成します。

私はあなたの助けが必要: '(

+3

[の可能性のある重複したモバイルの作成に使用する最も重要なメディアクエリされています。応答性のデザイン?](http://stackoverflow.com/questions/12045893/which-are-the-most-important-media-queries-to-use-in-creating-mobile-responsive) –

答えて

0

これらは、Twitterのブートストラップは、その応答性のレイアウトに使用するサイズ

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

} 
+0

ありがとうあなたは – Saad