Skip to content

Instantly share code, notes, and snippets.

@plagelao
Created March 7, 2011 23:14
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 plagelao/859472 to your computer and use it in GitHub Desktop.
Save plagelao/859472 to your computer and use it in GitHub Desktop.
SASS examples
=gradient(!top, !bottom)
background-image: -moz-linear-gradient(top, !top, !bottom)
background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, !top),color-stop(1, !bottom))
background-image: -webkit-linear-gradient(!top, !bottom)
background-image: linear-gradient(top, !top, !bottom)
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='!top', EndColorStr='! bottom')
#header
+gradient(white, $2011_color)
#header
background-color: $2011_color
$2011_color: #CB6586
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment