3 ms·
Oh thank you so much for putting the mixins in this. It would be the most massive DX positive change to CSS. It had been on my want list for years. But it see
by di4na 4y ago
Oh thank you so much for putting the mixins in this.
It would be the most massive DX positive change to CSS. It had been on my want list for years.
But it seems all the momentum went into shadow DOM and we stopped talking about it.
"All" we need in theory is someone willing to take the mantle and shepherd it. There is previous work on it from the `@apply` experiment that could be leveraged. In theory it should not be too hard.
But noone has the time in the people that want it it seems.
- c-smile 4y agoJust in case Sciter supports mixins out of the box. @mixin button-alike { border:1px solid; border-radius; background:gold; } and its usage a.button { @button-alike; // mixin application point color:blue; } Parametric mixins are also supported: @mixin button-alike(back) { border:1px solid; border-radius; background:back; } and a.button { @button-alike(gold); // mixin application point with parameter color:blue; }