Created
March 13, 2012 07:26
-
-
Save ardysnippets/2027415 to your computer and use it in GitHub Desktop.
CSS: Cross-browser gradient
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
background: #40464e; | |
background-image: -khtml-gradient(linear, left top, left bottom, from(#40464e), to(#2d333b)); | |
background-image: -moz-linear-gradient(top, #40464e, #2d333b); | |
background-image: -ms-linear-gradient(top, #40464e, #2d333b); | |
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #40464e), color-stop(100%, #2d333b)); | |
background-image: -webkit-linear-gradient(top, #40464e, #2d333b); | |
background-image: -o-linear-gradient(top, #40464e, #2d333b); | |
background-image: linear-gradient(top, #40464e, #2d333b); | |
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#40464e', endColorstr='#2d333b', GradientType=0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment