Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding multiple utilities for a class #69

Open
DomPatmore-SAE opened this issue Mar 8, 2021 · 1 comment
Open

Adding multiple utilities for a class #69

DomPatmore-SAE opened this issue Mar 8, 2021 · 1 comment

Comments

@DomPatmore-SAE
Copy link

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

.myClasss{
    --bg:blue;
    --p:1em;
}
@ciar4n
Copy link
Contributor

ciar4n commented Mar 8, 2021

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;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants