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:
“Argument is conclusive ... but ... it does not remove doubt, so that the mind may rest in the sure knowledge of the truth, unless it finds it by the method of experiment.... For if any man who never saw fire proved by satisfactory arguments that fire burns ... his hearers mind would never be satisfied, nor would he avoid the fire until he put his hand in it ... that he might learn by experiment what argument taught.”
—Roger Bacon (c. 12141294)
“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)
“Nothing requires a greater effort of thought than arguments to justify the rule of non-thought.”
—Milan Kundera (b. 1929)