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:

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

    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 (1711–1776)

    What can you do against the lunatic who is more intelligent than yourself, who gives your arguments a fair hearing and then simply persists in his lunacy.
    George Orwell (1903–1950)