This day’s portion Navigation Menu

9 Apr is CSS Naked Day

It’s that time of year when we take off our site’s CSS. No, it’s not broken: this is what my site looks like when I don’t apply any styles at all and 9 Apr was CSS Naked Day.

An unstyled HTML page.

Unstyled HTML still has dark and light modes.

It’s always a worthwhile exercise as your site should make sense with no CSS. After all, it’s how a screen reader and a bot understand what you’ve written. This year there weren’t too many unpleasant surprises, although I did realise that if you are going to create your own HTML elements they’ll display inline by default. They’ll also need some “default” HTML around them to make sense.

Beyond that, I hide my webmention section with CSS. I knocked it into shape with some judicious use of uls. All good now, and I’ve shaved about 10s off the build time and 90% from the home page’s weight 👍.