Separate CSS Class for Different Button States | World Anvil

Remove these ads. Join the Worldbuilders Guild

Separate CSS Class for Different Button States

Content Addition · World presentation layer · Created by Sodose
declined
css
I went down a CSS rabbit hole today and while playing around with my buttons I realized that the "like" and "remove like" states of the like button (as well as a lot of other buttons) have the same CSS class.   I think it would be nice to change a button's properties depending on its activation state the same way you can with the world navigation palette trigger.   Thank you :)
Current score

+300 points