Email or username:

Password:

Forgot your password?
170 posts total
Bramus

“Three straw polls is a bad measure of time”

@famulimas at today’s #CSSWG meeting.

Bramus

We implemented a new value for `background-clip` called `border-area`. It lets you use CSS fill a border with a background image or gradient.

This article explains how it works, and shows up the possibilities in 7 demos.

#css #webdesign #webdevelopment #graphicdesign

webkit.org/blog/16214/backgrou

Show previous comments
eurozerozero

@jensimmons I saw this come up on the WebKit RSS feed earlier - great article!

The examples and the way you progressively explain each property are really helpful in understanding how to use it!

abacabadabacaba

@jensimmons I don't agree that the default should be `background-origin: border-box`. If you are using regular borders, you want the background to fit the padding box to avoid extra cropping.

Bramus

As of Chrome 131 you have more options to style `<details>` and `<summary>`.

You can now use the `display` property on these elements, and also use a `::details-content` pseudo-element to style the part that expands and collapses.

developer.chrome.com/blog/styl

Bramus

Hopefully other browsers will implement these changes as well soon too, because these additions have been long overdue. 😊

Joe Workman

@bramus While nowhere as fancy as your details demo, I did something clever with details that I have never seen before. I am building a file browser. It works surprisingly well. (codepen was my raw POC) codepen.io/joeworkman/pen/RwXd

Bramus

A while ago @paul_irish and I tweaked the Chrome DevTools Performance Timeline to make it more easy for you to spot + debug non-composited animations.

- Non-composited animations are marked with red triangles
- Upon selecting, you now see the reason + relevant properties for why compositing failed

Chrome DevTools before and after screenshots
Bramus

@paul_irish Most common reason why an animation can’t be composited is that you are animating a property that cannot be composited (such as `height`, or a custom property), but there are also other reasons such as using an `animation-composition` that is not `replace`.

Available from Chrome 131 onwards.

Bramus

 Chicago Kare by Duane King

A Faithful Reproduction of the Bitmap Version of the Chicago Typeface Created by Susan Kare for Apple Computer in 1984.

chicagokare.xyz/

Bramus

@codepen @chriscoyier FYI: There is no currency mentioned on the CodePen receipts.

This info – along with the already mentioned amount + description – is required for such a receipt to be a legal proof of payment.

Jens Grochtdreis

@bramus

mine has a currency. Did you download it from your profile?

Bramus

Supercharge Web UX with View Transitions (2024.10.18 @ React Brussels)

> Slides + recording of the talk “Supercharge Web UX with View Transitions” I gave at @BrusselsReact 2024

bram.us/2024/11/17/supercharge

#CSS #ViewTransitions

Bramus

Finally more options for styling the `<details>` element, for example, to animate its opening. @bramus's article has all the details: developer.chrome.com/blog/styl. 🪗

Estelle Weyl

@tomayac @bramus I was just updating the summary page on MDN today with a styling example: github.com/mdn/content/pull/36

guess we'll need to update it again ;)

Bramus

Vacation Responder: ON. See y’all in a week from now 👋 #GoneDiving

(To those interested: I’m doing a liveaboard in Egypt with Emperor Divers. The itinerary includes Brother Islands, Daedalus Reef, Elphinstone, and a bunch of reefs in between)

Photo of my luggage.
Adam Argyle

@bramus have fun! can't wait to see the pics, sounds rad

Bramus

For years, I've been hoping for more of the paged media specifications to come to browsers. In the next version of Chrome (131, now in beta) the ability to create your own header and footer content for printed content is here! Find out more in this post.

developer.chrome.com/blog/prin

iamdtms

@rachelandrew Thank you for the useful post. I'm looking forward to know more about the overflow handling of margin boxes and the print media styles cascade relations.

Peter Wilson

@rachelandrew I love & sympathise with the tip about using the bug tracker in the article. Open source lyfe.

Bramus

@dbushell I’ve been enjoying your writing a lot for the last few months, so let me return the favor with my own CSS catch-up writing I did a few months ago :blob_cat_peek: thomasorus.com/new-css-that-ca

Bramus

✍️ Chrome Dark and Light Mode made easy ... on Desktop

Some like it light, others dark. Yet others, like me, prefer it dark, but need it light to read … we’re talking about websites, color schemes and the impossibility of pleasing everyone.
...
But @bramus comes to the rescue, at least for the desktop, with his new extension Chrome Dark Mode Toggle ...

kiko.io/notes/2024/Chrome-Dark

✍️ Chrome Dark and Light Mode made easy ... on Desktop

Some like it light, others dark. Yet others, like me, prefer it dark, but need it light to read … we’re talking about websites, color schemes and the impossibility of pleasing everyone.
...
But @bramus comes to the rescue, at least for the desktop, with his new extension Chrome Dark Mode Toggle ...

Bramus

👀 Crbug 40211832 – “Implement at-rule for use with @supports.”

Merged CL chromium-review.googlesource.c

This is going to make CSS feature detection so much easier! 🤩 🎉

See brm.us/at-rule for details on what it is and how to use.

(The CL landed in main and should be in tomorrow’s Chrome Canary build. You need to enable the Experimental Web Platform features flag to try it)

Screenshot of at-rule() used in CSS.
Keith J Grant

@bramus 🎉 I’ve been waiting for this one to start landing in browsers for a while. Very excited to have it soon(ish)

Bramus

⚒ New Engineering blog post on scroll badge! Have you ever spent ages trying to figure out which element is actually scrolling on a page?

#ChromeDevTools added a new scroll badge to help you spot them easier! In this blog post, Ionuț and I will walk us through the feature and the technical implementation behind the scenes.

📜 developer.chrome.com/blog/swe-

Bramus

When one of the PMs plans a meeting to discuss 2025 roadmapping with you, and you prepare a two-page doc with things you want to see get added to the web platform …

Bramus

Looking at this GIF on The Big Screen™ I now notice the raccoon ain’t exactly smiling … looks like he’s up to something bad. Yikes!

Let me assure you though: I am smiling 🤩

(Also: _what does_ a smiling raccoon look like? 🦝)

Bramus

@dietrich Bug Report: I'm seeing `undefined` as the URL in the most recent @intenttoship posts.

Massimo Artizzu 🇺🇦🔱

@bramus @dietrich @intenttoship Yeah, for Blink-related ItS, as I noted here:
mastodon.social/@MaxArt2501/11

Looking at the source on GitHub, it looks like it's using @tomayac 's blog as the source? But it's probably outdated.

And the instance of Mastodon that it uses is going to close too 😞
I hope the bot could be saved, it offers a really nice service...

Bramus

I published a new version of my experimental Chrome Dark Mode Toggle extension.

On top of a per-origin override, you can now set a Chrome-wide preference to have your OS in Dark Mode but all sites in Light Mode (or vice versa).

Sites can also request an override, thanks to the Web Preferences API.

See brm.us/chrome-dark-mode-toggle for more details.

Bramus

If you would like to have this UA-wide dark/light mode preference (that is independent of the system setting) built into Chrome itself, go give issues.chromium.org/issues/401 an upvote by hitting the star icon in the top right corner.

Go Up