CSS Preprocessors
CSS preprocessors like SASS/SCSS extend CSS with features like variables, nesting, and mixins.
SASS Variables
$primary-color: #3498db;
body {
background-color: $primary-color;
}
Nesting
nav {
ul {
margin: 0;
padding: 0;
list-style: none;
}
}
Next: CSS Best Practices