Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

sass variables across files

// When importing the master, you leave out the underscore, and it
// will look for a file with the underscore. This prevents the SCSS
// compiler from generating a CSS file from it.
@import "assets/master";

// Then do the rest of my CSS afterwards:
.text { color: $accent; }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sass #variables #files
ADD COMMENT
Topic
Name
1+5 =