I know CSS very well, but am confused about Sass. How is SCSS different from CSS, and if I use SCSS instead of CSS will it work the same?
css has variables as well. You can use them like this:
css
--primaryColor: #ffffff; --width: 800px; body { width: var(--width); color: var(--primaryColor); } .content{ width: var(--width); background: var(--primaryColor); }