Sass is an extension to CSS Sass is a CSS pre-processor Sass is completely compatible with all versions of CSS Sass reduces repetition of CSS and therefore saves time Sass was designed by Hampton Catlin and developed by Natalie Weizenbaum in 2006 Sass is free to download and use. Sass is based on Ruby npm install -g sass /* Define standard variables and values for website */ $bgcolor: lightblue; $textcolor: darkblue; $fontsize: 18px; /* Use the variables */ body { background-color: $bgcolor; color: $textcolor; font-size: $fontsize; } Sass File Type Sass files has the ".scss" file extension. How Does Sass Work? A browser does not understand Sass code. need a Sass pre-processor to convert Sass code into standard CSS. This process is called transpiling. Transpiling is a term for taking a source code written in one language and transform/translate it into another language.
Comments
Post a Comment