Writing

Articles

Thoughts on web development, performance, and the craft of building things for the web.

How CSS display Actually Works

Every box has two display types: one facing outward, one facing inward. Once that clicks, flow-root, block formatting contexts, margin collapsing and inline-block all fall into place.

Read article

What Is CSS dvh?

100vh has been unreliable on mobile for years because of the moving browser chrome. A complete guide to dvh, svh and lvh: quick reference, ready-made recipes, the keyboard, safe areas and a checklist.

Read article

How to Choose Colours for Your Website

A good palette isn't just pretty — it's readable, consistent, and usable by everyone. A practical guide: content first, contrast, accessibility, and proportions.

Read article

Container Queries: The Missing Piece of Responsive Design

Components don't care how wide the browser is — they care how much space they have. A complete methodology: container types, component-first breakpoints, and migration.

Read article

The New Era of CSS: Native Nesting and the Rise of Modern Styling

Native nesting, runtime custom properties, scoped variables, and container queries have reshaped CSS. So do we still reach for SCSS in 2026?

Read article