Links

Better typography with text-wrap pretty
Support for
text-wrap: pretty
just shipped in Safari Technology Preview, bringing an unprecedented level of polish to typography on the web. Let’s take a look at what the WebKit version ofpretty
does — it’s probably a lot more than you expect. Then, we’ll compare it tobalance
and the othertext-wrap
values to better understand when to use which one.
Default styles for h1 elements are changing
Browsers are starting to roll out changes in default UA styles for nested section headings. This post describes the incoming changes, how to identify if it's an issue on your websites, and hints for conformant and better-structured pages.
Item Flow
Two weeks ago, Jen Simmons from the Webkit team shared an article about a new layout module called Item Flow. The idea is to unify the
flex-flow
andgrid-auto-flow
into a unified system. This path will lead to CSS masonry being integrated into the new syntax. Currently, the Item Flow is being discussed by the CSS working group. The goal of this article is to share my notes as I explore the new syntax.
Cover Flow with Modern CSS: Scroll-Driven Animations in Action
Cover Flow – the iconic carousel of tilted album covers made famous by Apple in the late 2000s – remains a visually striking UI pattern. Originally seen in iTunes and Mac OS X Finder, Cover Flow let users flip through items as if browsing a tangible collection. Today, we can recreate this effect on the web using only HTML and CSS, thanks to advancements like CSS scroll-driven animations.
CSS Custom Properties vs. Sass Variables: A Pragmatic Guide
When to use CSS custom properties vs Sass variables in design systems: runtime theming vs compile-time constants, dynamic flexibility vs immutable foundations.
Videos

Modern CSS Theming | Light Mode / Dark Mode and More!
In this video CJ shows some modern CSS features you can use to create a dark / light theme. He shows how to create a CSS only theme switcher and also shows how to save a users theme preference to localStorage.
Sponsor
Sponsored by Cloud Four
Thanks to Cloud Four for sponsoring this week’s newsletter! They solve complex responsive web design and development challenges for ecommerce, healthcare, fashion, B2B, SaaS, and nonprofit organizations.
If you’d like to help with the costs of running Friday Front-End, you can back our Patreon for as little as a dollar a month.