Quantcast
Channel: CSSタグが付けられた新着記事 - Qiita
Viewing all articles
Browse latest Browse all 8920

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

$
0
0
結構使えるメディアクエリ /* 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すべての画面でレスポンシブに対応するにはこのメディアクエリの記述を使えば良い。 メモとしてここに書いておく。

Viewing all articles
Browse latest Browse all 8920

Trending Articles