What is the difference between Sass and CSS? Explain
S.no | CSS | SASS |
---|---|---|
1. | Codes are Long | Code is Short |
2. | Unstructured Document | Structured Document |
3. | Nesting:-Code Block are not Nested | Nesting:- Allow the nested code to be included in each other |
4. | Suitable for small web applications | Suitable for small web applications as well as large user interfaces |
5. | Offers less flexibility | Has an ability to add mixin, functions, variable etc |
6. | Multiple stylesheets cannot be joined | Multiple Stylesheets can be joined into only one Style Sheet |
7. | Darken and Lighting Functions are not available | Darken and Lighting Functions are available |
8. | Mathematical functions are not available | Mathematical functions are available |
BY Best Interview Question ON 18 Jan 2019