3 ms·
Just in case Sciter supports mixins out of the box. @mixin button-alike { border:1px solid; border-radius; background:gold; } and its us
by c-smile 4y ago
Just 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;
}