Archive: November, 2015

CSS and the path of least resistance

Web styling advances at a ferocious rate. Vanilla CSS is a rarity. Almost every web presence relies on new frameworks, preprocessors, and workflows. Yet even in the midst of progress, the fundamentals often trip up our work.

Our CSS fights against the natural DOM (Document Object Model) flow. The DOM flows from left to right, and from top to bottom. Block elements expand as wide as possible within a bounding container. Elements grow only as tall as absolutely necessary. The more we resist this flow, the more likely things break.

To avoid this, I follow three rules. Whenever my layout feels janky or otherwise hard to debug, it’s usually because I’ve strayed off course from these guidelines.

Continue reading…

Essential tech podcasts

During runs and lighter coding sessions, I love listening to podcasts. Deep, geeky chats on tech, film and gaming are fun and instructive. The best podcasts are addictive; with memorable hosts and segments, it’s like checking in with old friends. Yet as my days get busier, I’ve had to pare down to just a few strong choices.

Balance separates great from merely good podcasts. They cover a diverse set of opinions, either from a revolving set of guests or hosts from different backgrounds. Yet it can’t be too diverse or the chemistry breaks down.

Continue reading…