01 Oct '13, 7am
Sass の custom functions 覚えたー。 declare 書くとその名前で keyword argument できるようになって便利なので書く
Declare a Sass signature for a Ruby-defined function. This includes the names of the arguments, whether the function takes a variable number of arguments, and whether the function takes an arbitrary set of keyword arguments. It’s not necessary to declare a signature for a function. However, without a signature it won’t support keyword arguments. A single function can have multiple signatures declared as long as each one takes a different number of arguments. It’s also possible to declare multiple signatures that all take the same number of arguments, but none of them but the first will be used unless the user uses keyword arguments.