Skip to content

Instantly share code, notes, and snippets.

Created May 14, 2012 03:43
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 anonymous/2691640 to your computer and use it in GitHub Desktop.
Save anonymous/2691640 to your computer and use it in GitHub Desktop.
$lightblue : #87e0fd; /* Here's how you assign the values to a variable */
$darkblue : #2cafe3;
$cpad: 20px; /* Variables are not limited to colors, you can use it to store values too*/
body {
background-image: -webkit-linear-gradient(top, $lightblue 42%, $darkblue 100%);
background-image: -moz-linear-gradient(top, $lightblue 42%, $darkblue 100%);
background-attachment:fixed;
}
.content {
padding: $cpad;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment