Created
August 28, 2011 10:35
-
-
Save pepebe/1176518 to your computer and use it in GitHub Desktop.
.box_lgradient (linear gradient snippet for Komodo Edit)
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
.box_lgradient { | |
background-color: #[[%ask1:from:444444]]; | |
background-image: -webkit-gradient(linear, left top, left bottom, from(#[[%ask1]]), to(#[[%ask2:to:999999]])); /* Saf4+, Chrome */ | |
background-image: -webkit-linear-gradient(top, #[[%ask1]], #[[%ask2]]); /* Chrome 10+, Saf5.1+ */ | |
background-image: -moz-linear-gradient(top, #[[%ask1]], #[[%ask2]]); /* FF3.6 */ | |
background-image: -ms-linear-gradient(top, #[[%ask1]], #[[%ask2]]); /* IE10 */ | |
background-image: -o-linear-gradient(top, #[[%ask1]], #[[%ask2]]); /* Opera 11.10+ */ | |
background-image: linear-gradient(top, #[[%ask1]], #[[%ask2]]); | |
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#[[%ask1]]', EndColorStr='#[[%ask2]]'); /* IE6–IE9 */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
komodo snippet for inserting liear gradient syntax into a css file.
frankensteind from css3please.org