With the CSS has selector, you don't even have to have your checkbox inside of the label. There's a couple of use cases where like you shouldn't do it because it's not accessible. But there are a handful of other use cases where you simply want to just turn something on and off or display something a little bit differently based on that.
In this episode of Syntax, Wes and Scott talk about UI elements and best practices with UI elements, as well as UI elements that exist in browsers.
Show Notes
××× SIIIIICK ××× PIIIICKS ×××
Shameless Plugs
Tweet us your tasty treats