This repository was archived by the owner on Oct 13, 2026. It is now read-only.
Repository navigation
How do I add multiple classes to an HTML element? #166
Unanswered
tonebender
asked this question in
Q&A
Replies: 1 comment
|
That seems… odd. I will have a play tomorrow when back at keyboard. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Sorry if I'm missing something obvious, but I tried this:
img_ [src_ "/record_1.png", class_ "record moving", alt_ "Spinning record"]and only the class "record" appeared in the HTML DOM. Using two class_ instances gave the same result.
Is there a way to add several classes to a single HTML element?
Either way, thanks for a great library, I really enjoy using it!
All reactions