Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It seems like the spec draft itself offers a much better example than the article.

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: