In the beginning you went to school to match a curriculum to your…
I wanted to use vanilla javascript to change the class of an SVG element. It was a bit trickier than I expected, but the answer is really simple.
Usually I change the class of some HTML element like this:
In 2014, Jackie Balzer wrote an excellent piece for Smashing Magazine on using Sass to automatically manage the z-index of elements using lists.
z-index
Four truths about input that have changed the way I look at the web.
The last decade has seen an explosion of new types of input. The pace of input innovation is like nothing we’ve seen before.
If you know me, you may know I don’t like sticky headers. They deny content much-needed room to flourish, and more often than not they’re blaring brands and social call-to-actions. But this isn’t the main reason I don’t like them.