Question · JavaScript and React course · Module 7: Styling and Animations

Mixins in SCSS

What are mixins (@mixin/@include) used for in SCSS?

Answer options

  • For importing external CSS libraries
  • For automatically generating media queries
  • For converting SCSS to standard CSS
  • For creating reusable style blocks with optional parameters

You can check the correct answer by solving this task in the CodeWorlds game.