What is the correct syntax to pass two variables in a mixin?

12. What is the correct syntax to pass two variables in a mixin?

  1. @mixin mixin_name(@include $variable1, @include $variable2) { properties: values;}
  2. @mixin mixin_name($variable1+$variable2) { properties: values;}
  3. @mixin mixin_name($variable1, $variable2) { properties: values;}
  4. @import @mixin mixin_name($variable1, $variable2) { properties: values;}

Answer: C) @mixin mixin_name($variable1, $variable2) { properties: values;}

Explanation:

The correct syntax to pass two variables in a mixin is,

@mixin mixin_name($variable1, $variable2) { properties:values;}

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.