×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Which is the correct syntax to define a mixin?

9. Which is the correct syntax to define a mixin?

  1. @mixin name {
      property: value;
      property: value;
      ...
    }
  2. @import mixin name {
      property: value;
      property: value;
      ...
    }
  3. @mixin name .sass{
      property: value;
      property: value;
      ...
    }
  4. @mixin name {
     @import _filename;
    }

Answer: A)

@mixin name {
  property: value;
  property: value;
  ...
}

Explanation:

The correct syntax to define a mixin is:

@mixin name {
  property: value;
  property: value;
  ...
}

Comments and Discussions!

Load comments ↻






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