Skip to content

How to assign multiple classes to one HTML element? #6331

Answered by mosh-tudor
Doogiemuc asked this question in Q&A
Discussion options

You must be logged in to vote

@Doogiemuc
You can achieve this by disabling the classes you don't want to add the current styles to:

But I'm not going to lie, the old logic was much simpler and more convenient.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Doogiemuc
Comment options

@mosh-tudor
Comment options

Answer selected by Doogiemuc
@artf
Comment options

artf Mar 17, 2025
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants