bonsai.css icon indicating copy to clipboard operation
bonsai.css copied to clipboard

Adding multiple utilities for a class

Open DomPatmore-SAE opened this issue 3 years ago • 1 comments

Is it possible to add multiple utilities per class, for example:

.myClasss{
    --bg:blue;
    --p:1em;
}

DomPatmore-SAE avatar Mar 08 '21 19:03 DomPatmore-SAE

Bonsai utilities are intended for inline use via the style attribute. I am not sure if there is a use case for your example. In such a case you would most likely define your properties as normal.

Eg.

.myClasss{
    background: blue;
    padding: 1em;
}

ciar4n avatar Mar 08 '21 23:03 ciar4n