Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How do I create optional arguments for a SASS mixin? Reply To: How do I create optional arguments for a SASS mixin?

#171003
nixnerd
Participant

For those curious… the official docs on this sort of thing:

http://sass-lang.com/documentation/file.SASS_REFERENCE.html#variable_arguments

Yay… @keyframes mixins here I come!

BTW,
I know that Compass or Bourbon probably have ready-made solutions for this… sometimes it’s nice to write custom stuff though.