Re: [csswg-drafts] [css-apply-rule] New advocate for the spec

@apply is pretty cool. It basically allows you to re-use CSS declaration blocks without having to copy them around, without having to modify their selectors and without having to use a CSS pre-processor (eventually).

It will make it easier to use CSS frameworks and keep semantic class names at the same time.

CSS frameworks won't have to use visual semantics anymore (`<input class="fl w-third ba b--blue pa3 h3">`...). 

It would be a simple, native solution. I would hate to see it dropped in favor of something more complicated.

-- 
GitHub Notification of comment by rolfen
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1047#issuecomment-340932987 using your GitHub account

Received on Tuesday, 31 October 2017 23:05:48 UTC