Links
New CSS color spaces and functions in all major engines
CSS now supports color spaces that allow us to access colors outside of the sRGB gamut. This means that you can support HD (high definition) displays, using colors from HD gamuts. This support comes with new functions to make better use of color on the web.
Animated Pride Flags
It's June, which means it's Pride Month! Let's celebrate by building a wavy pixellated pride flag. There's a lot of exciting stuff packed into this tutorial. In order to build this flag, we'll need to rely on a handful of tricks I've developed over years of experimentation. You'll learn a ton about keyframe animations, linear gradients, and more.
An introduction to @scope in CSS
In January 2019 I raised an issue in the W3C CSS GitHub titled Please bring back scoped styles. There had once been a
scoped
HTML attribute but it got deprecated. It’s been replaced by@scope
in CSS. Browser support is still forthcoming. It’s due to land in Chrome 117. Safari has a positive position on the specification.
Web Apps on macOS Sonoma 14 Beta
Web apps in macOS Sonoma 14 Beta seamlessly integrate into the macOS experience, with no or very little visible Safari UI and with support for various operating system features. There is an enormous potential for web apps on macOS to succeed, and if Apple only works on a third of the items on my wish list, the potential is even bigger.
Modern CSS in Real Life
By any measure, CSS has gotten a lot better in recent years. It’s gotten more useful features, better interoperability between browsers, and become easier to learn thanks to a concerted push toward making CSS a cohesive system free of quirks and hacks. What matters though is the real world. Real websites. Real impact on the things we make and the people who use them. It’s working.
Videos
What's new in CSS
Explore the latest advancements in CSS. Learn techniques and best practices for working with wide-gamut color, creating gorgeous typography, and writing simple and robust code. We'll also peer into the future and preview upcoming layout and typography features.
Sponsor
Sponsored by Cloud Four
Thanks to Cloud Four for sponsoring this week’s newsletter! 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.