27 Oct '14, 2pm

Classical mixin inheritance in Sass - #programming

you only ever pass one argument to a mixin: a Sass map, which defaults to (). you call a mixin named override and pass it that single argument. This essentially tells Sass that this mixin is a child of another mixin, and stores the argument map in a global store. (If the mixin isn’t the end of the inheritance chain, set $is_child to false .) you set default attributes for this child mixin by calling a default mixin and passing it an attribute & value pair. Anywhere along the way, instead of accessing variables directly, you can call fetch to retrieve them from the global storage.

Full article: http://hashrocket.com/blog/posts/classical-mixin-inherita...

Tweets

How to get Blog Post Ideas for Your Blog @MakyS...

hackerspace.lifehacker.com 26 Oct '14, 9pm

Whether you are just starting to blog, or you have written hundreds of posts, coming up with new ideas for a blog post can...

@neilpatel

hackerspace.lifehacker.com 26 Oct '14, 9pm

Whether you are just starting to blog, or you have written hundreds of posts, coming up with new ideas for a blog post can...

Head on to our HVV Blog to read about our first...

hervelvetvase.com 30 Oct '14, 8am

Next, feeling adventurous and wanted to have something different, Jolynn and Serena chose to settle with the Baked Lemongr...