Created
March 22, 2014 16:00
-
-
Save ituki/9709461 to your computer and use it in GitHub Desktop.
background-size: coverの勘所 ref: http://qiita.com/ituki_b/items/3950e14def34ced21562
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
body { | |
width: 100%; | |
height: 100%; | |
background: url(背景画像のパス) left top no-repeat fixed; | |
background-size: cover; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment