The Importance of Native Randomness in CSS | CSS-Tricks

We're getting new functions for generating random numbers in CSS! But the road to get here has been a long and winding one.

CSS-Tricks

#Development #Guides
Scroll-driven animations · Exploring the majestic new ‘animation-timeline’ API https://ilo.im/16cio9

_____
#ModernCSS #ScrollDrivenAnimations #Animations #Timelines #APIs #WebDev #Frontend #CSS

Scroll-Driven Animations • Josh W. Comeau

The new Animation Timeline API allows us to create dynamic scroll animations without any JavaScript! It’s honestly a very lovely API, and in this blog post, we’ll explore some of the super cool things we can do with it.

#Development #Releases
CSS recently in all browsers · Highlights from the past few months https://ilo.im/16cggh

_____
#ModernCSS #Baseline #Browsers #Chrome #Firefox #Safari #WebDev #Frontend #CSS

CSS Recently In All Browsers · April 26, 2026

New CSS you feel like you could use today

nerdy.dev
Scroll Spy with Pure CSS using scroll-target-group - Roland Franke

How the new CSS scroll-target-group and :target-current let you build a table of contents scroll spy without JavaScript.

Roland Franke - Frontend Developer

#Development #Techniques
Making complex CSS shapes with shape() · Wavy, wiggly, blob, squiggly, ragged, and torn ones https://ilo.im/16bvpt

_____
#ModernCSS #Generators #Shapes #Curves #Animation #WebDev #Frontend #CSS

Making Complex CSS Shapes Using shape() | CSS-Tricks

Creating rectangles, circles, and rounded rectangles is the basic of CSS. Creating more complex CSS shapes such as triangles, hexagons, stars, hearts, etc. is more challenging but still a simple task if we rely on modern features.

CSS-Tricks

#Development #Techniques
CSS name-only containers · The scoping we needed and the one we have https://ilo.im/16bzll

_____
#ModernCSS #Scoping #Components #Browsers #WebDev #Frontend #CSS

Name-Only Containers: The Scoping We Needed – Frontend Masters Blog

If we give a `container-name` to the root of all our unique components, we can scope styles to them with a simple @container query.

#Development #Overviews
The great CSS expansion · How modern CSS reduces the need for JavaScript https://ilo.im/16bpqd

_____
#ModernCSS #Libraries #MotionJS #GSAP #React #WebPerf #WebDev #Frontend #CSS #JavaScript

The Great CSS Expansion

CSS now does what Floating UI, GSAP ScrollTrigger, Framer Motion, and react-select used to require JavaScript for. Here is exactly how much that saves, why these libraries were painful beyond their size, and what the platform still hasn't figured out.

Butler's Log

#Development #Introductions
Easier light‑dark mode switching · light‑dark() is about to support images! https://ilo.im/16bimg

_____
#ModernCSS #Images #LightMode #DarkMode #Browsers #WebDev #Frontend #CSS

More Easy Light-Dark Mode Switching: light-dark() is about to support images!

CSS light-dark() is being extended to support images.

Bram.us

#Development #Techniques
CSS contrast-color() beyond black & white · How to unlock more colorful theming options https://ilo.im/16bdci

_____
#ModernCSS #Theming #ColorPalettes #Colors #Contrast #Accessibility #Browsers #WebDev #Frontend #CSS

una.im | contrast-color() beyond black & white

Two techniques that bypass the black-or-white limit of contrast-color() for custom color palettes.

#Development #Overviews
Automated accessible text with CSS · contrast-color() is available soon in all major browsers https://ilo.im/16bcgt

_____
#ModernCSS #Baseline #Color #ColorPalettes #Contrast #Accessibility #Browsers #WebDev #Frontend #CSS

una.im | Automated accessible text with contrast-color()

Let the browser pick the most readable text color for any background with this new CSS function.