Mid
From PDF
JavaScript
JavaScript
What are CSS preprocessors (SASS, LESS)?
Preprocessors extend CSS with variables, nesting, mixins, and functions, compiled into
plain CSS.
Example (SASS):
$main-color: #3498db;
.button {
background: $main-color;
&:hover { background: darken($main-color, 10%); }
}
Key Takeaway:
Preprocessors make CSS more modular, maintainable, and reusable.
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png