@yisibl.bsky.social

CSS Grid is now enabled by default in Servo 🎉 One of the most powerful web layout systems is now available in an independent Rust web engine. It's powered by the library Taffy & enabled thanks to Nico Burns. A huge milestone for CSS layout in Servo!

Generic social image with a Servo logo over a gradient that reads "CSS Grid is now enabled by default"

The <select> element has been tough to style for decades. appearance: base-select changes that. We'll walk you through full CSS control, rich HTML options, and keeping it accessible — all while leveraging the power of the native element.

Rediscover the HTML select element - WWDC26 - Videos - Apple Developer

Learn how to unlock full control of styling select menus on the web. The HTML select element is getting a major upgrade with a new CSS...

developer.apple.com

Brian's blog post goes in more depth on line-clamp, but it gets rid of the 3-property cruft you need before -webkit-line-clamp will do anything, and it also adds a `line-clamp: auto` syntax to be able to clamp to whatever content fits a given height. It even lets you animate that height!

OoooOOooh! Guess what! As of Chrome 149, shape() works in shape-outside! So you can really *shape* your UI's 😉* rect() and xywh() are also supported for shape-outside in Chrome 149 codepen.io/una/full/ogz... *(just let me have my Mom joke)

Getting inspired by all the things the new CSS grid lanes layout can do. Like this bottom-up and top-down layout. Sure, this layout isn’t the best for when order is important. But, man, is it cool for visual creativity.

Seattle black and white photos. Photos above the title go up. Photos below it go down.

Starting with Chrome 144, you can now make underline gradients work—a long-standing bug. Thanks to Minseong Kim from South Korea for fixing it! But due to the ambiguity of `background-clip: text` in the specification, there is still a long way to go. crbug.com/362055819

Bild

Relying solely on max-width appears insufficient to resolve the issue of “a single image being placed on a single line” in certain scenarios. We hope Chrome will ship `flex-wrap: balance` as soon as possible. codepen.io/yisi/full/Wb...

Bild
@bfgeek.bsky.social · last yr.

I've finally got around to documenting a cute way of building an Image Gallery with flexbox: bfgeek.com/flexbox-imag... This technique maintains image aspect-ratios, and ensures there is no additional free space (full-bleed). Let me know what you think! (@bram.us - I got around to this!)