Bramus (@bramus) header
Bramus (@bramus) profile picture

Chrome DevRel at Google (CSS + Web UI). @CSSWG Member. Former University Lecturer. PADI Divemaster. Blogs at @bramusblog. You should follow me on Bsky 🦋.

Belgium
Joined September 2007
If you've been sleeping on CSS scroll-driven animations… WAKE UP Bramus's course breaks down everything you need to know about CSS scroll-driven animations, whether you're using plain HTML, CSS, and JS or a JavaScript framework like React, Vue, Svelte, etc Thanks @bramus! 🔗👇
🚀 LAUNCH DAY 🚀 Introducing “Unleash the Power of Scroll-Driven Animations” – a 10-part video course that teaches you all there is to know about scroll-driven animations with CSS or JavaScript. developer.chrome.com/blog/sc…
1
2
12
2,035
View Transitions are enabled by default in Firefox Nightly, so they're on their way to stable. Give it a test with your current transitions, and give me a shout if anything doesn't look right.
8
23
1
199
17,579
To add to @bramus's question: What "queries" would you use it with? E.g. - first input descendant - closest name=foo sibling - input within the same <tr> etc Don't think just <label for>/ARIA but all attributes that take ids, e.g. list, commandfor, popovertarget + component attributes
🙋‍♂️❓ Using attributes like `for` require you to reference another element using that element’s `id`. E.g. `<label for="x"></label> … <input id="x">` Do you wish you had another way to refer to another element on the page, without needing an id? If so, what would you want?
3
3
11
4,785
An easy way to make your dropdowns feel better is to make them origin-aware. They should scale in from the trigger. In this case, `transform-origin: top left`. The default is `center` which feels wrong, as it appears out of nowhere.
19
78
7
1,742
88,400
Bramus retweeted
I've implemented enough of the Gamepad API with SDL3 in @ladybirdbrowser to be able to connect a controller and play a racing game with it! 🎮🐞
4
13
3
224
57,313
🥳 CSS functions have arrived!!! 🥳 And they are *AWESOME* Now, you can do things like this: @​function --alpha(--color, --opacity) { result: rgb(from var(--color) r g b / var(--opacity)); } div { background: --alpha(red, 80%); } (*arrived = in the latest stable Chrome)
60
166
60
1,385
165,064
🤯 I can’t believe I only learned this yesterday: `//# sourceURL=inline:foo.js`
18
48
3
414
34,848
🌐 Orbital photo gallery (demo + code)
2
4
44
3,482
A short spontaneous interview with @bramus at #GoogleIOConnect where he showcases a use case of Scroll-driven animations! ✨ youtu.be/9l5JAkvLRd4
1
4
1,761
Blink: Intent to Prototype: Customized built-in elements via elementInternals.type bit.ly/45vShSW
2
1
10
3,237
Gecko: Intent to ship: URLPattern bit.ly/3FRmGR9
4
10
2,600
CSS uses a complex algorithm to decide how to animate transforms. If you get it wrong, as many folks do, you end up with an unnatural animation. Here's how it works, and how to avoid the pitfalls. jakearchibald.com/2025/anima…
15
60
1
438
42,222
Blink: Intent to Ship: CSS Corner shaping (corner-shape, superellipse, squircle) bit.ly/4kzmnt9
3
5
29
3,401
I popped onto @ShopTalkShow to chat about the challenges of an "HTML include" web platform feature. ➡️ Video youtube.com/watch?v=t0NBcve0… ➡️ Podcast shoptalkshow.com/668/
3
6
1
39
5,462
🚨🚨🚨 48 Hours to Go 🚨🚨🚨 We're down to the last half dozen tickets, grab yours whilst you still have the chance 👇 middlesbroughfe.co.uk
1
3
834
Coming soon to Safari: - Anchor positioning (YAYY!) - Scroll-driven animations (YAYY!) - text-wrap: pretty - progress() function - margin-trim - contrast-color() webkit.org/blog/16993/news-f…
9
46
5
352
26,651
🔥 Today I'm launching a new project: browser.dating🔥 The dating website matching people based on their browser history! In the video below I talk a little about how it works! browser.dating/
6
9
3
47
4,559