Last active
October 13, 2015 08:40
-
-
Save maru0014/f2b8a4a658c28e4a2662 to your computer and use it in GitHub Desktop.
Android標準ブラウザでも背景画像が表示される(幅100%指定)
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
//Android標準ブラウザでも背景画像が表示される(幅100%指定) | |
h2 { | |
background: url(image.jpg); | |
background-size: 100% 40px; | |
-webkit-background-size: 100% 40px; /* Safari,Google Chrome用 */ | |
-moz-background-size: 100% 40px; /* Firefox用 */ | |
-o-background-size: 100% 40px; /* Opera用 */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment