In CSS preprocessors like SASS and LESS, what feature allows you to use the same piece of CSS in multiple places?

  • Functions
  • Mixins
  • Selectors
  • Variables
Mixins in CSS preprocessors like SASS and LESS allow you to reuse the same piece of CSS in multiple places. By defining a mixin, you can encapsulate a set of styles and then include it wherever needed, promoting code modularity and maintainability. Variables, functions, and selectors are also important features but serve different purposes.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *