1.

Why we use Sass Mixin function?

Answer»

Why we USE Sass Mixin function?
Basically we use Mixin function to define the styles. Mixin is very SIMILAR to a function. And we can re-use style throughout the style sheet. And one of most important aspect is that we need not to resort the nonSemantic classes and example of that is .float-left. With the help of Mixin we can store multiple values or we can say parameters and CALL a function to avoid writing repetitive codes. And its name can use underscores and hyphens INTERCHANGEABLY. And Mixins output lines of SASS code can be compile directly into css style.



Discussion

No Comment Found