Skip to content

Instantly share code, notes, and snippets.

@RubyRonin
Created May 12, 2017 21:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RubyRonin/4e2663124980854282c637d9c5455d92 to your computer and use it in GitHub Desktop.
Save RubyRonin/4e2663124980854282c637d9c5455d92 to your computer and use it in GitHub Desktop.
.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