Sign up
A public list by dan.

Embed this list

Copy this code and paste it into your website’s HTML to show this list there.

Bramus Valid
Text

Screenshots were taken using the iPhone Device Simulator and the MobileMiniBrowser application with https://viewport-resize-behavior.netlify.app/ loaded.

These changes are not part of Safari 27 (explaing why a local WebKit build + MobileMiniBrowser was used), but my guess is that this lands in Safari 27.1.

Bramus Valid
Text

🤩 Safari is about to support `interactive-widget` in the viewport meta tag

https://github.com/WebKit/standards-positions/issues/65#issuecomment-5346189958

This allows you to control what should happen to the viewport when the virtual keyboard gets shown.

https://developer.chrome.com/blog/viewport-resize-behavior#opting_in_to_a_different_behavior (from 2022!) has the details.

(No word on the Virtual Keyboard API though)

Bramus Valid
Text

RE: https://mastodon.social/@firefoxwebdevs/117246953483030890

Maybe one nuance to make here is that custom properties **ALWAYS** compute before they inherit.

With `@property` you control _what_ it computes to, not _when_.

If nothing is specified, you inherit the raw token stream, otherwise you get a parsed value.

(And if that parsing fails, you get https://brm.us/iacvt)

Bram.us Valid
Text • Bramus!

Introducing <​mermaid-element>, a custom element to display Mermaid diagrams

Today I learned that CodePen supports Mermaid diagrams — Chris Coyier has a a whole collection with examples here — and I also learned that there is no custom element to easily include these in your markup … so I built one.

Bramus Valid
Text

@codepen (If I have been procrastinating, you ask? You betcha I did!)

Bramus Valid
Text

TIL that @codepen supports Mermaid Diagrams … and also that there is no custom element to easily include these in your markup … so I built one (assisted by Antigravity).

→ https://brm.us/mermaid-element

Original Content – Bram.us Valid
Text • Bramus!

Introducing <​mermaid-element>, a custom element to display Mermaid diagrams

Today I learned that CodePen supports Mermaid diagrams — Chris Coyier has a a whole collection with examples here — and I also learned that there is no custom element to show Mermaid diagrams … so I built one.

iA Valid
Text

🏆 Red Dot Best of the Best
🏆 iF Gold
🏆 IDEA Gold

iA Notebook completes the product design Grand Slam!

https://ia.net/topics/idea-gold

Bramus Valid
Text

Productive evening. Added 1 new features + fixed 4 bugs for my Scroll-Driven Animations DevTools extension (http://br...

Productive evening. Added 1 new features + fixed 4 bugs for my Scroll-Driven Animations DevTools extension (http://brm.us/sda-debugger)

- Scrollable Minimap
- Play nice with Pseudo Elements
- Support more units in the ranges
- Support min(), max(), … in the ranges
- Take `view-timeline-inset` into account (+ visualize)

Release imminent.

Bramus Valid
Text

Here’s a more high-fidelity demo.

→ https://brm.us/animated-grid

Original Content – Bram.us Valid
Video • Bramus!

Animating CSS Grid Layouts with CSS Anchor Positioning

At CSS Day (back in June), someone asked me how Brave (the browser) might have built their New Tab Page which features some tiles laid out in a grid. While the grid is nothing spectacular, something special happens with it when you resize the viewport: as the available space changes, the grid nicely reorganizes itself in an animated way. The animations are also interruptible, so no View Transitions seem to be at play.

So, how did they do it? I’m not sure. But if I were to recreate it, I’d use CSS Anchor Positioning with regular CSS Transitions on top.

Bram.us Valid
Video • Bramus!

Animating CSS Grid Layouts with CSS Anchor Positioning

At CSS Day (back in June), someone asked me how Brave (the browser) might have built their New Tab Page which features some tiles laid out in a grid. While the grid is nothing spectacular, something special happens with it when you resize the viewport: as the available space changes, the grid nicely reorganizes itself in an animated way. The animations are also interruptible, so no View Transitions seem to be at play.

So, how did they do it? I’m not sure. But if I were to recreate it, I’d use CSS Anchor Positioning with regular CSS Transitions on top.

Bramus Valid
Text

Back in June I shared a demo of a grid that smoothly animates on resize without JS or View Transitions.

I finally sat down to write up how it works: CSS Anchor Positioning + scoped anchors + regular CSS transitions.

→ https://brm.us/animated-grid

iA Valid
Text • iA Inc

IDEA Gold

After RedDot Best of Best and iF Gold, the IDSA gives iA Notebook its third top international design award.

Niels Leenheer Valid
Text

Over the years I have brought some really weird things through airport security. I’ve set off the alarms once - they closed down the lane and started shouting in panic because it looked really serious on the scanners.

But never a vintage oscilloscope. Until today. Freiburg, here we come!

Bramus Valid
Text

Also, if you read about `random()` before, go re-read things because the keywords changed after I brought them up for...

Also, if you read about `random()` before, go re-read things because the keywords changed after I brought them up for re-discussion at the WG (w3c/csswg-drafts#13132)

Awaiting an MDN update, the correct keywords and descriptions can be found in the spec: https://drafts.csswg.org/css-values-5/#random

Bramus Valid
Text

The 3 LGTMs are in ... CSS random() officially coming to Chrome 155 (due early October)! 🎉

https://groups.google.com/a/chromium.org/g/blink-dev/c/ERWNExcOwcg/m/f3PCkiGoDwAJ

Niels Leenheer Valid
Text

"Oscilloscopes & Other Bad Ideas"

I've been so swamped in work that I completely forgot that I am going to give a talk at the @smashingconf Jam Session next Monday. But with a title like that I already know it's going to be good.

https://smashingconf.com/freiburg-2026/jam-session

Now... is there any way I can bring an actual vintage oscilloscope with me on the plane to Freiburg? 🤔

Bramus Valid
Text

Way back in 2005, I first used PageFlip as a Flash component to display pages of images on a website. Ever since, recreating a modern version has been on my backlog to investigate.

With the arrival of HTML-in-Canvas (experimental), we can finally bring it back — this time displaying real HTML.

→ https://brm.us/hic-pageflip

Original Content – Bram.us Valid
Video • Bramus!

Introducing <​hic-pageflip>: Interactive Pageflip/Flipbook Interface powered by HTML-in-Canvas

Way back in 2005, I first used PageFlip as a Flash component to display pages of images on a website. Ever since, recreating a modern version has been on my backlog to investigate. With the arrival of the experimental HTML-in-Canvas API, we can finally bring it back — this time displaying real HTML.