Bramus
@bram.us
8.9K followers 340 following 920 posts
Chrome DevRel at Google (CSS + Web UI + DevTools). CSSWG Member. PADI Divemaster. Blogs at bram.us. Lives in Belgium.
Posts Media Videos Starter Packs
Pinned
bram.us
Bramus @bram.us · Dec 17
🔥 Remember Internet Explorer’s Page Transitions? THEY’RE BACK BABY!

👾 Demo: ie-page-transitions.netlify.app
⌨ Repo: github.com/bramus/ie-pa...

To configure these, use the meta tags from the olden days + load up the library.

Works in IE 5.5–7.0, Chrome 126+, and Safari 18.2 (buggy).
bram.us
Bramus @bram.us · 55m
@nomster.bsky.social pointed out that a `custom.css` has privacy implications as well.

I recall Arc exposing custom props for its color theme (such as `--arc-palette-title`, ), which could be used to 1) Detect Arc but also to 2) Uniquely identify and track Arc users across the web.
Reposted by Bramus
utilitybend.com
🚀As a case study, I tried to recreate the famous Guess Who game with built-in AI and the Prompt API. It was a really interesting experience, to say the least.
My heart is at CSS & UI, and always will be. However, I do love to experiment with a variety of (web)technologies 😄 Read all about it
Build a guessing game with the Prompt API  |  Blog  |  Chrome for Developers
My game of Guess Who demonstrates how AI can be used to build thoughtful game logic, and the importance of prompt engineering to get the outcomes you expect.
developer.chrome.com
Reposted by Bramus
sarasoueidan.com
This talk by @nerdy.dev is a wonderful presentation of why CSS is awesome and why we love it so much www.youtube.com/watch?v=QW6G...

Just look at what's possible with #CSS today

And the format is great for the impatient ones (myself included). Right speed, right transitions (pun intended 😉)
Adam Argyle - 25 new & rad feature of CSS
YouTube video by CascadiaJS
www.youtube.com
bram.us
Bramus @bram.us · 23h
Ooh, #TIL!
bram.us
FWIW: there are extensions that allow you to set custom CSS on all/specific sites.

The injected CSS is Author-origin, though, so you'll most likely need to bump up the specificity of your selectors or slap some !important's on some (all?) declarations.
bram.us
Many browsers _did_ support it back in the day, but moved away for <reasons>.

I don't know the details, but one thing that immediately comes to mind could be security. If a UA offers a custom sheet (at a fixed location), it'd be easy for malware to abuse this.
Reposted by Bramus
aleksandrhovhannisyan.com
> Writing an article

> Hey I should explain some background knowledge first

> Hmm, maybe that should be its own article

> Neither article gets written
bram.us
Out of curiosity, what would you put in your user-origin stylesheet?

(Side note: css-cascade-6 is the latest level of that spec — drafts.csswg.org/css-cascade-... — so there's more steps in the cascade nowadays)
bram.us
IIRC it was possible at one time in Chrome, but the option got removed and replaced with some controls such as a slider to control the default font-size to use.

This predates my time at Chrome, so I don't l know the backstory there.
bram.us
How UAs let you define the contents that goes in the user-origin is not defined anywhere, as that's an implementation detail.

Some browsers could offer a CLI flag that points to a file, others could use a textbox, others could let you refer to a file from the settings, etc.
Reposted by Bramus
sarasoueidan.com
OK @kevinpowell.co has written what has to be one of the best (if not THE best) practical article to #CSS colors I have read in a while. piccalil.li/blog/a-pragm...

Easy to read, practical examples, and *perfect* for someone like me who's fallen behind and hasn't kept up with all the new stuff.
A pragmatic guide to modern CSS colours - part one
Whether you've got a firm grasp on modern CSS colour capabilities, or you're thinking 'I struggle to understand why I should use modern CSS colours at all', then the first part of this article series,...
piccalil.li
Reposted by Bramus
katiefenn.bsky.social
Hey #WDC2025, if you want a talk to watch on the way home, my talk from @heypresents.com was published today!

I make some Daft Punk with a MIDI controller and a web browser.
heypresents.com
Not only that, but we managed to interrupt a movie playing in the screen next door with the volume of the demo. It certainly woke us all up before heading off to the social. It sounded incredible! Watch the talk and find out more here:

heypresents.com/talks/around...
Around the wwworld: Web MIDI, Web AUDIO and what the web does best
So, you don't use the Web Audio and Web MIDI APIs in your day job - does that mean they have nothing important to tell us about the nature of the Web? Think again! Katie Fenn takes us on a tour of the...
heypresents.com
Reposted by Bramus
chriscoyier.net
rawdogging some shape() to build "round out" tabs.

I'll blog it eventually. modern CSS rules.
Reposted by Bramus
tolin.ski
I've been so annoyed by AI tools and CSS that I made a CSS MCP that:

* consults with MDN for docs
* reports browser compat
* uses project Wallace to analyze your CSS

github.com/stolinski/cs...

Also made claude code agent for css but still perfecting it.
GitHub - stolinski/css-mcp
Contribute to stolinski/css-mcp development by creating an account on GitHub.
github.com
bram.us
Ah, that would explain it indeed. Thanks for the info.

(Should I file a bug or have you already logged something (internally)?)
Reposted by Bramus
firefoxdevtools.bsky.social
As an experiment, we (the Firefox team) wanted to try a new way to get feedback on which Interop proposals matter most.

So, here's a web app where you can rank the proposals you care about, giving us data we can use when reviewing which ones to champion.

interop-rank.jakearchibald.com
Interop Feature Ranking
Rank the web platform features you care most about
interop-rank.jakearchibald.com
Reposted by Bramus
bram.us
A lot has happened since Chrome shipped Same-Document View Transitions in 2023.

In 2024 we shipped Cross-Document VTs, added refinements such as `view-transition-class` and VT Types, and also welcomed Safari in adding VT support.

And this year … well, I wrote a post summing it all up.
What's new in view transitions (2025 update)  |  Blog  |  Chrome for Developers
An overview of what changed for View Transitions in 2025
developer.chrome.com
Reposted by Bramus
adactio.com
Journal: Simplify

Reminding myself just how much you can do with CSS these days.

🔗https://adactio.com/journal/22178
bram.us
I see you featured --light-dark() which, I guess, you got from my blog.

Worth noting is that the code doesn't actually work right now, because the `color-scheme()` query-fn isn't implemented in any browser yet.

Also note that the color-scheme property can be set on _any_ element, not just :root.
bram.us
A lot has happened since Chrome shipped Same-Document View Transitions in 2023.

In 2024 we shipped Cross-Document VTs, added refinements such as `view-transition-class` and VT Types, and also welcomed Safari in adding VT support.

And this year … well, I wrote a post summing it all up.
What's new in view transitions (2025 update)  |  Blog  |  Chrome for Developers
An overview of what changed for View Transitions in 2025
developer.chrome.com
bram.us
I would have guessed that 😁
bram.us
And from the more recent, non-math, functions, which do you like?