Basic of Sass
What is SASS?
- Sass (Syntactically Awsome Stylesheet)
- It is a Pre-processor and it was designed by Hampton catlin and developed by Natalie weizenbaum in 2006
- It helps to reduce redundancy with CSS
- It is used to style a document in a proper structure.
Use of SASS
- It is a pre-processing language
- It provides indented syntax (own syntax) for css.
- It is used to create a stylesheet in which we write the code in uncomplicated and active manner and maintain the code easily.
- It accommodates all the lineaments (appearance) of a css that's why it work as an open source pre-processor.
- It helps to arrange the structure in a proper format than flat css. We can easily re-use the function, methods, logic statements and some of the built in functions.
Features of Sass
- It is durable, strong and appropriate with the versions of css.
- It is an open source and it is also known as syntactic, sugar for css.
Advantage of Sass
- With the use of Sass we can write a clean css and it also helps to write the css in a very active and rapid manner.
- It is very helpful for the developers and designers to work in a abrupt manner and in a accurate way that's why it is also a superset of css.
- Sass is very adaptable and consistent with all the version of css , we can use any accessible css libraries.
- The helpful function such as manipulations, mathematics and other values are used as a nested syntax.
Disadvantage of Sass
- It proceeds to much time for a developer to review new features present in this pre-processor.
- It is challenging and problematic for all the developers and designers work on the same site because some use Sass and some use CSS to edit the files directly. So to cope up with that problem they use the same preprocessor.
- There are opportunity of falling benefits of the browser's built-in element inspector.