The beauty of CSS mixins
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
A Microsoft engineer working on CSS mixins in Chromium writes about the new @mixin and @apply rules, which let developers define reusable blocks of declarations rather than single values as custom properties and functions do.