Question · HTML and CSS course · Module 7: SASS

SASS Mixins

How do you define a mixin in SASS?

Answer options

  • @mixin name { properties }
  • mixin name() { properties }
  • function name { properties }
  • def name { properties }

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