You Don't Need Javascript

July 11th 2016

Css is powerful, you can do a lot of things without js.

There's a handful of solid demos in here, although to be fair if you wanted to actually do anything with some of these components you'd probably want Javascript. I also found it odd that the to-do list example is built entirely with Jade and programatic declarations. So I guess it's not technically using js, but it's close enough to feel out of place in this list.

More to the point, however, is that there are some really awesome ways to hack native inputs to handle on/off states with pure CSS. If anything, that kind of info will help anyone building websites to push themselves as much as possible to find the pure solution, rather than falling back to an easy jQuery fix.

More Posts

Copyright © 2016