Search

Post types:
Categories:
🔖

The CSS Cascade

Read Note

I don't think I've come across a clearer explanation of the full cascade before, nor one so beautifully crafted. An excellent resource and …

🔖

CSS custom properties and the cascade

Read Note

CSS variables (aka CSS custom properties) do not have access to the cascade. That means they can't fall back to earlier rules, so if your variable is invalid, the browser will simply unset …

🔖

A tale of two buttons

Read Note

You have buttons on your website. These can be on a light background, or a dark background, and have active and non-active states, but should be highly visible in any variation. You might think that …

🔖

Tailwind and the death of web craftsmanship

Read Note

I have used Tailwind on various projects. I think for prototyping and quick proof of concepts, for one-off projects that never need to be updated, it has some advantages. But for code that you want …

📖

About the Divide

Read Article

The idea of a great divide in front-end development resonated with me. I'm worried about how the erosion of certain skills could lead to a less inclusive, accessible web, for both users and developers. On the other hand, there are some massive advantages to our new tools. It's a double-edged sword.

📖

Pass API Data to the Stylesheet with CSS Variables

Read Article

I keep running into the same problem: how to set a style attribute in the CMS and have that be dynamically rendered on the front-end, without relying on inline styles. Turns out it's a great use case for CSS variables!

🔖

Tailwind adds complexity, does nothing

Read Note

I've never understood the appeal of TailwindCSS. I've watched friends and colleagues get amped for it, seen their code, and just felt like it was a meaningless abstraction of the existing technology. …

🔖

11ty tips I wish I'd known

Read Note

Several excellent tips on how to best setup, configure, or use Eleventy, all with excellent explanations. I particularly liked the breakdown of the data cascade model …

🔖

Classic rock, Mario Kart, and why we can't agree on Tailwind

Read Note

Josh may have written the perfect article on Tailwind. As someone who has also spent quite a lot of time (both professionally and personally) working with Tailwind, I couldn't agree more, …

🔖

What is utility-first CSS?

Read Note

As acerbic and cutting a critique of utility-first CSS (and that particular framework) as you would expect from Heydon, but hidden amongst the humour are some (also equally expected) jewels …