Skip to content

Instantly share code, notes, and snippets.

@devinrhode2
Created March 27, 2012 02:03
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 devinrhode2/2211711 to your computer and use it in GitHub Desktop.
Save devinrhode2/2211711 to your computer and use it in GitHub Desktop.
my case for stylus (compile to css)
body {
border-radius: 5px; //this auto expands to include -webkit- and -moz- border radii
//as you see, comments are more natural.
opacity: 0.5; //this auto-expands to include the IE filter, whatever it is.
}
//use a variable:
$color = gray;
/*
stylus import on compile
When using @import without the .css extension, it is assumed to be a Stylus sheet, for example @import "fancyDivs"
*/
@import 'moreCode' //file is modeCode.styl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment