What is the correct syntax to call a mixin with two variables in a class?

13. What is the correct syntax to call a mixin with two variables in a class?

  1. .class_name{ @include mixin_name(variabl1, variable2);}
  2. .class_name{ @include mixin_name(variabl1, variable2);}
  3. .class_name{ @include mixin_name(variabl1, variable2);}
  4. .class_name{ @include mixin_name(variabl1, variable2);}

Answer: A) .class_name{ @include mixin_name(variabl1, variable2);}

Explanation:

The correct syntax to call a mixin in a class is,

.class_name{  @include mixin_name(variabl1, variable2);}

Example:

.post{
  @include border1(red, 1px);
}

Comments and Discussions!

Load comments ↻






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