(Video + Article)
— Chris Coyier (@chriscoyier) November 23, 2016
@chriscoyier 100% agree — this is exactly why I made https://t.co/txfQnMfpbx, it does exclusively that.
— Benjamin De Cock (@bdc) November 23, 2016
It has a really unusual way of configuring it. You use plain language, within a <code> tag, to tell it what classes to change on click, like:
clicking on "h1" removes class "open" on "h1.open" clicking on "h1" adds class "open" on "target"
Here’s a fork of the “level up” demo from that video, done with uilang instead:
See the Pen Change Classes on Stuff by Chris Coyier (@chriscoyier) on CodePen.
Jeremy Keith had a good way of putting it too:
It reminds me of the old jQuery philosophy: find something and do stuff to it.
The Power of Changing Classes is a post from CSS-Tricks