Sass (stylesheet Language) - Mixins - Arguments

Arguments

Mixins also support arguments.

@mixin left($dist) { float: left; margin-left: $dist; } #data { @include left(10px); }

Would compile to:

#data { float: left; margin-left: 10px; }

Read more about this topic:  Sass (stylesheet Language), Mixins

Famous quotes containing the word arguments:

    “We are seeing an increasing level of attacks on the “selfishness” of women. There are allegations that all kinds of social ills, from runaway children to the neglected elderly, are due to the fact that women have left their “rightful” place in the home. Such arguments are simplistic and wrongheaded but women are especially vulnerable to the accusation that if society has problems, it’s because women aren’t nurturing enough.”
    —Grace Baruch (20th century)

    “Nothing requires a greater effort of thought than arguments to justify the rule of non-thought.”
    —Milan Kundera (b. 1929)

    “Children are intensely invested in getting their way. They will devote more emotional and intellectual energy to winning arguments than parents ever will, and are almost always better rested.”
    —Jean Callahan (20th century)