Skip to main content
CSS is fun and cool and I like it.

The Three Types of Code

Every time I start a new project, I organize the code I’m looking at into three types, or categories if you like. And I think these types can be applied to any codebase, any language, any technology or open source project. Whether I’m writing HTML or CSS or building a React component, thinking about these different categories has helped me figure out what to refactor and prioritize, and what to leave alone for now.

Those categories: Boring Code, Salt Mine … Read article “The Three Types of Code”


Angular, Autoprefixer, IE11, and CSS Grid Walk into a Bar…


Considerations for styling the `pre` tag

You’ve probably used it. It’s that very special tag in HTML that allows for the white space within the tags to actually be honored. For example, four spaces will actually be four spaces! That’s unlike how HTML normally works, where white space “collapses” (the four spaces will become one). The <pre></pre> tag is useful indeed.… Read article “Considerations for styling the `pre` tag”