LoginSignup
0
0

More than 1 year has passed since last update.

メディアクエリでレスポンシブ対応する際の基本の型

Posted at

結構使えるメディアクエリ

/* iPhone 縦 */

@media screen and (min-width:480px) { 
    /* for iPhone Landscape (iPhone 横) */

}
@media screen and (min-width:768px) and ( max-width:1024px) {
    /* for iPad  */

}
@media screen and (min-width:1024px) {
    /* for PC */

}

スマホ、タブレット、PCすべての画面でレスポンシブに対応するにはこのメディアクエリの記述を使えば良い。
メモとしてここに書いておく。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0