Sabitlenmiş Tweet
Bramus
50.9K posts

Bramus
@bramus
Chrome DevRel at Google (CSS + Web UI). @CSSWG Member. Former University Lecturer. PADI Divemaster. Blogs at @bramusblog. You should follow me on Bsky 🦋.
Belgium Katılım Eylül 2007
740 Takip Edilen13.9K Takipçiler
Bramus retweetledi

Kudos to @ChromiumDev for the amazing "CSS Wrapped 2025" site! It's beautifully structured and a joy to read. ✨
Found a typo under "Invoker Commands": the text says custom commands use the toggle event, but the code correctly shows the command event. 📝👇
#WebDev #CSS

English

@kurtextrem @fabiospampinato A third benchmark for `:is(.matching-class):first-child` would be needed here. My expectation is that it would perform the same as the nested version, which would explain things.
(Also: 76 match attempts at 0.053ms is pretty much neglible in the grand scheme of things)
English

@fabiospampinato @bramus this might be a topic for you, have you encountered (slow-ish) CSS nesting before?
English

It looks like there's a missing optimization or a bug for native CSS nesting in Chrome for some selectors 🤔
If I have some style like the following then I see the "&:first-child" and "&:last-child" bits in the selector stats (see picture below):
```css
.matching-class {
&:first-child {
opacity: 0.2;
}
}
```
While if I express exactly the same thing but without native nesting I don't see these selectors in the selector stats at all anymore:
```css
.matching-class:first-child {
opacity: 0.2;
}
```
I guess similarly to new JS features also new CSS features could not have had enough time to be fully optimized/polished 🤔 Probably worth fully resolving this stuff at compile time to be safe, I guess.

English

The past years I’ve done a bunch of experiments with View Transitions, such as optimizing the keyframes or driving them by scroll.
I noticed I repeat a lot of code throughout those experiments … so I bundled that all up in a package.
👉 chrome.dev/view-transitio…
English

@UtterDonkey @Arif_hossain921 This is a known shortcoming, and looking at the comments I believe you've already found your way to the bug.
issues.chromium.org/issues/4074202…
The bug is currently assigned which means someone is working on it.
English

@Arif_hossain921 @bramus As of current testing, this doesn't work in Android. Is this the case for anyone else?
English

🗣️ PSA: Chrome on Android is getting an upgrade and will support edge-to-edge from Chrome 135.
Here’s all you need to know to migrate your website to support edge-to-edge: developer.chrome.com/docs/css-ui/ed…
(Be sure to check this guide if you have `position: fixed` content at `bottom: 0`)


English

@kaimnsrvr Hmm, looks like the flag is no longer available in Chrome 145. You can still find it in Chrome 146 though :)
English

@jrgarciadev @bramus this might interest you, view transitions being used for animations in a component library
English

@bramus I've been waiting for this for so long you have no idea.
Biggest request: hotkey (and customization of hotkey) for expand/collapse
Also noticed the expand/collapse has an animation but it's super laggy, maybe the option to disable that?
Thank you all for shipping this 🙏
English

@Mr_Jfranklin That would be a bug, as it goes with flagged experimental features :)
I am mainly using Chrome Canary (146) which seems to do much better with this feature, so you’ll have to wait another release (or use Chrome Canary – which comes with its own challenges – or Chrome Dev)
English

@bramus Love this but on mine the address bar is very large. How to I make it smaller like in you images?

English


@Dalton_Walsh I’ve heard several requests about this before, so I’m sure it will please a lot of folks out there.
(Personally I’m also sticking to horizontal ones … for now)
English

@bramus Randomly tried that today, pretty random I see this post.
Not sure if like it, but it's a big change to get used to
English












