Created
June 17, 2013 08:55
-
-
Save ghooghe/5795573 to your computer and use it in GitHub Desktop.
Css3 gradients
This file contains hidden or 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
| #example1 { | |
| /* fallback */ | |
| background-color: #063053; | |
| /* chrome 2+, safari 4+; multiple color stops */ | |
| background-image:-webkit-gradient(linear, left bottom, left top, color-stop(0.32, #063053), color-stop(0.66, #395873), color-stop(0.83, #5c7c99)); | |
| /* chrome 10+, safari 5.1+ */ | |
| background-image: -webkit-linear-gradient(#063053, #395873, #5c7c99); | |
| /* firefox; multiple color stops */ | |
| background-image: -moz-linear-gradient(top,#063053, #395873, #5c7c99); | |
| /* ie 6+ */ | |
| filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#063053', endColorstr='#395873'); | |
| /* ie8 + */ | |
| -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#063053', endColorstr='#395873')"; | |
| /* ie10 */ | |
| background-image: -ms-linear-gradient(#063053, #395873, #5c7c99); | |
| /* opera 11.1 */ | |
| background-image: -o-linear-gradient(#063053, #395873, #5c7c99); | |
| /* The "standard" */ | |
| background-image: linear-gradient(#063053, #395873, #5c7c99); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment