Skip to content

Instantly share code, notes, and snippets.

@parrfolio
Created May 3, 2011 20:05
Show Gist options
  • Save parrfolio/954115 to your computer and use it in GitHub Desktop.
Save parrfolio/954115 to your computer and use it in GitHub Desktop.
CSS3 Gradients Cross Browser
background: #293c4d url("image.png") repeat 0 0;
background: url("image.png"), -moz-linear-gradient(top, #293c4d 0%, #26353c 100%) repeat 0 0;
background: url("image.png"), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#293c4d), color-stop(100%,#26353c)) repeat 0 0;
background: url("image.png"), -webkit-linear-gradient(top, #293c4d 0%, #26353c 100%) repeat 0 0;
background: url("image.png"), -o-linear-gradient(top, #293c4d 0%, #26353c 100%) repeat 0 0;
background: url("image.png"), -ms-linear-gradient(top, #293c4d 0%, #26353c 100%) repeat 0 0;
background: url("image.png"), linear-gradient(top, #293c4d 0%, #26353c 100%) repeat 0 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment