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:
“When I am convinced of any principle, it is only an idea which strikes more strongly upon me. When I give the preference to one set of arguments above another, I do nothing but decide from my feeling concerning the superiority of their influence.”
—David Hume (17111776)
“Tis happy, therefore, that nature breaks the force of all sceptical arguments in time, and keeps them from having any considerable influence on the understanding. Were we to trust entirely to their self-destruction, that can never take place, till they have first subverted all conviction, and have totally destroyd human reason.”
—David Hume (17111776)
“There is no assurance of the great fact in question [namely, immortality]. All the arguments are mere probabilities, analogies, fancies, whims. We believe, or disbelieve, or are in doubt according to our own make-upto accidents, to education, to environment. For myself, I do not reach either faith or belief ... that Ithe conscious person talking to youwill meet you in the world beyondyou being yourself a conscious personthe same person now reading what I say.”
—Rutherford Birchard Hayes (18221893)