Use of SASS and SCSS With React JS
Use of SASS and SCSS With React JS
JS
Hassaan Ahmed
SASS
SASS is short for Syntactically Awesome Style Sheets, and it is among the most popular CSS
preprocessors. It extends CSS by adding features of traditional programming languages, particularly
object-oriented programming languages.
SASS consists of two syntaxes. The older one is called the indented syntax and is similar to Python, which
is a templating system aimed at generating clean HTML code by avoiding writing inline code in a web
document.
The other syntax, the newer SASS syntax, is SCSS or Sassy CSS. Unlike the indented syntax, it uses CSS-
like block formatting. While braces denote code blocks, semicolons separate rules with a code block. This
makes the SCSS syntax strict but at the same time more expressive in terms of readability. SCSS is built on
top of CSS and contains more features in addition to all the features of CSS. Thus, SCSS is a superset of
CSS. The main aim of SCSS is to fill the gaps and incompatibilities between CSS and SASS.
Setting up a Project
● https://www.interviewbit.com/blog/sass-vs-scss/
● https://www.geeksforgeeks.org/what-is-the-difference-between-scss-and-sass/
● https://www.freecodecamp.org/news/the-beginners-guide-to-sass/
Thank You
Any Questions?