Created
November 22, 2013 02:01
-
-
Save gabssnake/7593544 to your computer and use it in GitHub Desktop.
CSS gradients prefix test
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
/* | |
* CSS gradients prefix test | |
*/ | |
div { | |
min-height: 10em; | |
background-color: #ccc; | |
margin: 0.5em 0; | |
} | |
.new { | |
background-image: linear-gradient(to bottom, #a6f2c0, #555555); | |
} | |
.webkit-old { | |
background-image: -webkit-gradient( linear, 0 0, 0 100%, from(#a6f2c0), to(#555555) ); | |
} | |
.webkit { | |
background-image: -webkit-linear-gradient(top, #a6f2c0, #555555); | |
} | |
.moz { | |
background-image: -moz-linear-gradient(top, #a6f2c0, #555555); | |
} | |
.opera-old { | |
background-image: -o-linear-gradient(top, #a6f2c0, #555555); | |
} |
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
<div class="new"> | |
linear-gradient(to top, #a6f2c0, #555555); | |
</div> | |
<div class="webkit"> | |
background-image: -webkit-linear-gradient(top, #a6f2c0, #555555); | |
</div> | |
<div class="moz"> | |
background-image: -moz-linear-gradient(top, #a6f2c0, #555555); | |
</div> | |
<div class="webkit-old"> | |
background-image: -webkit-gradient( linear, 0 0, 0 100%, from(#a6f2c0), to(#555555) ); | |
</div> | |
<div class="opera-old"> | |
background-image: -o-linear-gradient(top, #a6f2c0, #555555); | |
</div> |
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
// alert('Hello world!'); |
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
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment