Get the latest tech news

This website has no class


Going “full CSS Zen Garden” with modern CSS.

That inkling turned into fervent belief after reading Keith Cirkel’s excellent post “CSS classes considered harmful”. But these techniques, particularly with how you can seamlessly enhance to true custom elements or web components, feels like a coherent end-to-end system in a way that class-based approaches don’t. I gave syntax-highlight a hard look, but I don’t love the idea of introducing client-side js where none need exist, and the authoring experience would be a step back, so I begrudgingly left it alone for now.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of website

website

Photo of class

class

Related news:

News photo

Hosting a website on a disposable vape

News photo

Website is hosted on a disposable vape

News photo

Nicu's test website made with SVG (2007)