ppk 🇪🇺

@quirksmode.org

technical writer - #browser expert - #cssday and #perfnow conference organiser - #history geek - former Later Roman Empire specialist - native of #Amsterdam - https://quirksmode.org

What type is a CSS counter? There is no type <counter>. It sure as hell isn't an <integer> (that's what I want, but it seems there's no easy way of converting it) or a <number>. <string>? Something else? No type at all? I am learning to hate counters.

Related to the recent "what-did-Chrome-do-shipping-all-these-ugly-interest-invokers-they-must-be-evil-oh-wait-no-i-think-i-have-the-experimental-flag-set" flap: [1/2]

So my current theory is that from time immemorial CSS devs got used to content-based layouts such as tables, floats, and flexbox. Then grid came, and it's not based on the content of the items. That's why it's considered confusing or "I already use flexbox so I don't need grid." [1/2]

Well, I just went to the final Ancient Greek reading night of my old teacher. We did some Sophokles and a poem of Theokritos. But it was the last time ... and fittingly, Theokritos ended with a farewell. Not happy. Still, glad to have been there all those years. End of an era.

Blog post: Grid algorithm adventures https://quirksmode.org/quirksblog/2026/0527-gridalgo.html I explain a bit of grid theory, a simplified grid algorithm, and how the noble art of not giving too many instructions is best for creating robust layouts. Rambles slightly.

Grid algorithm adventures

I explain a bit of grid theory, a simplified grid algorithm, and how the noble art of not giving too many instructions is best for creating robust layouts. Rambles slightly.

quirksmode.org