-
Using recursive CSS to change styles based on depth
Can CSS be used recursively to change styles based on the depth of an element in a container? Well it can, but it is a little tricky. -
Combining :has and :only-child to change tab containers
For a styling implementation detail, I set the challenge to come up with a CSS-only solution, instead of implementing the logic in a front-end framework. -
Combining :placeholder-shown and :has
Yesterday my wife told me about this :placeholder-shown selector. I had visual question marks above my head because I never heard of it before. But it sparked curiosity about what it could give me. -
Interdependencies and code stability
updated! As engineers, we have the tendency to over-engineer our solutions, make our code as reusable as possible. We make our code DRY. But in this quest, we often create unstable code. -
I was wrong about service workers
I was wrong about service workers. I wrongly assumed certain use cases for them. But I was missing out on them. -
Going back to CSS-only after years of SCSS
When migrating my website to Eleventy, it ditched SCSS and went old school. I went removed a complexity layer to see if CSS-only is a viable option these days.