3 ms·
It seems like the spec draft itself offers a much better example than the article. https://drafts.csswg.org/css-mixins-1/ https://drafts.csswg.org/css-mixins-1
by SquareWheel 2y ago
It seems like the spec draft itself offers a much better example than the article.
https://drafts.csswg.org/css-mixins-1/ https://drafts.csswg.org/css-mixins-1/
I do think it's strange that using a wrapper like var() wasn't required here. Like func() or such. I'd actually rather that var() hadn't existed to begin with, but it should be consistent, at least.