1. What is the scss or sass ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

1. What is the scss or sass ?

30th Nov 2017, 5:28 AM
Ashwin_Chaurasiya
Ashwin_Chaurasiya - avatar
2 Answers
+ 4
Sass is a CSS pre-processor with syntax advancements. Style sheets in the advanced syntax are processed by the program, and turned into regular CSS style sheets. However, they do not extend the CSS standard itself. The main reason for this is the addition of features that CSS painfully lacks (like variables). The difference between SCSS and Sass, this text on the Sass documentation page (http://sass-lang.com/documentation/file.SASS_REFERENCE.html#syntax) should answer the question: There are two syntaxes available for Sass. The first, known as SCSS (Sassy CSS) and used throughout this reference, is an extension of the syntax of CSS. This means that every valid CSS stylesheet is a valid SCSS file with the same meaning. This syntax is enhanced with the Sass features described below. Files using this syntax have the .scss extension. The second and older syntax, known as the indented syntax (or sometimes just “Sass”), provides a more concise way of writing CSS. It uses indentation rather than brackets to indicate nesting of selectors, and newlines rather than semicolons to separate properties. Files using this syntax have the .sass extension. However, all this works only with the Sass pre-compiler which in the end creates CSS. It is not an extension to the CSS standard itself.
30th Nov 2017, 5:50 AM
Andy
Andy - avatar
+ 2
Sass (syntactically awesome stylesheets) is a style sheet language initially designed by hampton callin Its also a scripting language inserted Into css Scss has a css syntax
30th Nov 2017, 6:47 AM
Android Boi
Android Boi - avatar