Created
April 17, 2012 10:25
-
-
Save ds729/2405112 to your computer and use it in GitHub Desktop.
CSS3メディアクエリサンプル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media screen and (max-width: 480px){ /* 画面が480pxの場合 */ | |
body{ background: #80D0FF } | |
} | |
@media screen and (max-width: 320px){ /* 画面が320pxの場合 */ | |
body{ background: #FFDBF3 } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment