Skip to content

Instantly share code, notes, and snippets.

@RubyRonin
Created May 12, 2017
Embed
What would you like to do?
.redgradient {
font-weight: bold;
color: white;
background: red; /* For browsers that do not support gradients */
background: -webkit-linear-gradient(left, red , #CD0101); /* For Safari 5.1 to 6.0 */
background: -o-linear-gradient(right, red, #CD0101); /* For Opera 11.1 to 12.0 */
background: -moz-linear-gradient(left, red, #CD0101); /* For Firefox 3.6 to 15 */
background: linear-gradient(to right, red , #CD0101); /* Standard syntax (must be last) */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment