Skip to content

Instantly share code, notes, and snippets.

@alisonailea
Created September 23, 2013 04:05
Show Gist options
  • Save alisonailea/6666385 to your computer and use it in GitHub Desktop.
Save alisonailea/6666385 to your computer and use it in GitHub Desktop.
From Johnothan Snook's Multiple Backgrounds and CSS Gradients http://snook.ca/archives/html_and_css/multiple-bg-css-gradients
background: url(/img/acceldom.jpg) 10px 10px no-repeat;
background:
url(/img/acceldom.jpg) 10px 10px no-repeat,
-webkit-gradient(linear, 0 0, 0 100%, from(#EEF), to(#000)) 300px 50px no-repeat,
-webkit-gradient(linear, 0 0, 0 100%, from(#EFE), to(#000)) 0 0 no-repeat;
background:
url(/img/acceldom.jpg) 10px 10px no-repeat,
-moz-linear-gradient(#EEF, rgba(0,0,0,1)) 300px 50px no-repeat,
-moz-linear-gradient(#EFE, rgba(0,0,0,1)) 0 0 no-repeat;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment