Profile avatar
nomster.bsky.social
Web platform engineer @ Chrome
110 posts 841 followers 657 following
Regular Contributor
Active Commenter

Move Modal in on a… shape() Got an old "modal" design? Now might be the time to upgrade it to a , as we can do both open & close animations now.

There's a lot to unpack with the Long Animation Frames (LoAF) API! This excellent guide from @andydavies.me includes: šŸŽžļø Why animation frame rate matters for #webperf & #ux šŸŽžļø Anatomy of a LoAF šŸŽžļø How to get started! www.speedcurve.com/blog/guide-l... #corewebvitals #sitespeed #pagespeed

Jotting down a few notes on the new CSS shape() function and the commands it supports. It's incredible how dense this stuff is, but it's still a lot easier to grok than working with SVG paths by hand! css-tricks.com/css-shape-co...

So much great new content about CSS shape()! I love it where we can release a feature without too much noise and the users of the feature are the ones to tell its story.

āš™ļø New CSS Generator! Save this link for the future. A tool to easily convert any SVG shape into a CSS one in no time. Powered by the new shape() function! 🤩 css-generators.com/svg-to-css/ āœ… Single-element āœ… Responsive āœ… No more ViewBox headaches

Some history of how the shape() function started: techblog.wikimedia.org/2020/11/23/w... Tl;dr: I was annoyed that the wikipedia popup balloons were JS-sized SVGs.

shape(): A New Powerful Drawing Syntax in CSS from @chriscoyier.net on @frontendmasters.com frontendmasters.com/blog/shape-a... #CSS #FrontEnd #WebDev #WebDesign

The @codepen.io logo using the new shape() function. codepen.io/t_afif/full/... Do you think SVG is hard? Wait until this beast becomes widely supported 😈

šŸ’” CSS Tip! Shapes with rounded corners are a nightmare in CSS but it's now easy with the new shape() function! 🄳 Let's start with a classic: The Hexagon css-tip.com/rounded-hexa... Yes, you can animate the radius and rotate the shape. Modern CSS is cool!

So sad... One of the happiest things about building new CSS features was having Adam build cool stuff with them.

I’m at #BlinkOn. I gave a presentation about CSS Parser Extensions, a wild idea I have to fix CSS polyfilling once and for all. Slides: slidr.io/bramus/css-p... (Personal idea, nothing official about this)

@bram.us #BlinkOn

The CSS shape() function is available in Chrome M135 and Safari 18.4. Here is some short documentation of how it can be used with clip-path for responsive clipping: developer.chrome.com/blog/css-sha...

My brother is playing St. Peter in Scorcese's "The Saints" www.youtube.com/watch?v=uZ86... (trailer @ 0:37) So proud little bro!

Animating corner-shapes in chrome canary (137.0.7109.0 with experimental features turned on): codepen.io/noamr/pen/Kw...

I didn't know you could already try this in Safari TP. Sweet! Also a very initial version available in Chrome Canary with experimental features turned on.

This Saturday I spent time building a model train track with my son and cleaning the coffee grinder. Both tasks oddly resemble software engineering.

Playing around with how CSS corner-shape (squircles and friends) is going to end up looking like: noamr.github.io/squircle-tes... Fleshed out a lot of details, it's coming along! (Note that overlaps don't work yet in the proto but a lot of other things do) Thanks @smfr.bsky.social and @fserb.com šŸ‘

Playing with how stroking squircla/superellipse should work with CSS corner-shape by implementing it in canvas: codepen.io/noamr/pen/Wb...

A voice in my dream last night said "what you really want is to be a teacher but you're afraid of being poor". Do you think there's a hidden message in there somewhere about my future that I should pay attention to?