profile

That HTML Blog

That HTML Blog #15: XSLTs Are Back, Prelude-less CSS Scope, and Unbundling

Published 4 months ago • 1 min read

Friday, January 19, 2024

I've been thinking a lot about blogs and publishing lately, due to various projects I have going on, so it should come as no surprise that one of our news stories today is all about feeds and how to style them. Wait, what? I know, I keep forgetting this is a thing too. I definitely need to grab a coffee, settle in my chair, and write some XSLTs for my blogs!

In other news, I've also been starting to play around more with the Matrix chat protocol and various web clients that are available. Matrix isn't a web standard, but it is an "open standard" that I'm hearing more and more about these days. I'll report back at some point about my opinion as I use it in earnest.

Catch you next time,
Jared
✌️


XSLTs Are Back, Baby!

A statement you no doubt are shocked to hear uttered in the year 2024. 😂

So why are we styling XML news feeds like it’s 2004? It’s because some bloggers are sick of hiding their RSS/Atom feeds away where no one can find them…and then when they do, browser treat them as ugly text files—or worse, don’t let you do anything useful with them at all. It’s more confusing than helpful, and in an age where we desperately need to claw back control of publishing on the open web, making news feeds feel friendly and inviting is actually pretty smart.

Read on the web...


What Prelude-less Scope Is and Why You Want It

Now available in Safari Technology Preview 186+ as well as Chromium-based browsers from 118 onward, @scope holds the potential to reshape how we think about formulating CSS selectors and handling scoping considerations.

But my favorite feature is what is called prelude-less scope, and it is directly tied to the use of <style> tags inline in HTML. It’s essentially what you imagine when you think of defining “scoped styles” in your HTML. Here is a very simple example…

Read on the web...


Improving CSS Download Performance by Unbundling Page Styles

The Government Digital Service blog for the UK has published an article about their performance gains across a variety of properties, with “reductions of up to 40% in CSS size on some pages.” The way they achieved these improvements is one which shouldn’t come as a huge surprise but is surprisingly not on many web developers’ radar (based on my own anecdotal experience discussing these sorts of issues).

The solution? Unbundling styles which are specific to certain pages and not the entire website and loading those styles on those specific pages, instead of loading all of a website’s CSS via a single bundle.

Read on the web…


That HTML Blog
Made with ❤️ in Portland, Oregon

See also our sibling publication The Spicy Web + Discord
Follow The Spicy Web on Mastodon!

That HTML Blog

That HTML Blog is the fresh place to be for posts about developing websites & applications using “vanilla” & standards-adjacent web technologies.

Get this: a weekly digest of thrilling links sent right to your inbox. w00t! 🙌

Read more from That HTML Blog

Friday, April 19, 2024 Here in Portland, spring is in full bloom 🌸, and what is also in full bloom is the effort to (see what I did there?) equalize the rollout of awesome new web specs across all browsers. I am of course talking about Interop 2024, and who better to discuss these exciting developments for #WebDev with than my good friend Ayush. That's right my friends, Just a Spec is back! 👏 And in 🎙️ Episode 14 of Just a Spec, we pulled out some of our favorite focus areas from the Interop...

about 1 month ago • 1 min read

Friday, March 29, 2024 Hello Web friends! I've been a busy beaver this month. We kicked off the version 2 development cycle of Bridgetown, a site generator & fullstack framework I help maintain, and I've been deep in the throes of that effort. In addition, I launched (rebooted in a way) a new general fediverse-friendly tech blog called The Internet Review. It draws from various archives I have stretching all the way back to 1996! (gawd I feel old now. 😋) But you're here to talk #WebDev, so...

about 2 months ago • 2 min read

Friday, March 8, 2014 In a World… …Where No Selectors Can Be Applied Based on a Single Variable Value… …One Specification Emerges…One Which Will Change Everything… …And That Specification Is… Container Style Queries. 💥 All right, well maybe this doesn't rise to the excitement level of an 80s action movie, but I think it's pretty amazing. Read below to learn how you can add superpowers to your CSS variables. I also talk about a fresh look at the question of if "Jamstack" can be rehabilitated...

2 months ago • 1 min read
Share this post