Make creative borders with background-clip border-area
Jen Simmons explains how you can apply a background image to a border using background-clip: border-area, available today in Safari Technology Preview and Safari 18.2 beta. - https://webkit.org/blog/16214/background-clip-border-area
#css
Jen Simmons explains how you can apply a background image to a border using background-clip: border-area, available today in Safari Technology Preview and Safari 18.2 beta. - https://webkit.org/blog/16214/background-clip-border-area
#css
WebKit
Make creative borders with background-clip border-area
How’d you like to use CSS to easily create a border from an image or gradient?
A Framework for Evaluating Browser Support
Josh W. Comeau shares a framework that might help you decide whether it’s appropriate to use a new CSS feature. - https://www.joshwcomeau.com/css/browser-support
#css
Josh W. Comeau shares a framework that might help you decide whether it’s appropriate to use a new CSS feature. - https://www.joshwcomeau.com/css/browser-support
#css
Joshwcomeau
A Framework for Evaluating Browser Support • Josh W. Comeau
Lots of exciting new features have been landing in CSS recently, and it can be tough trying to figure out if they’re safe to use or not. We might know that a feature is available for 92% of users, but is that sufficient? Where do we draw the line? In this…
Experiment: Automatically triggered View Transitions with MutationObserver
Bramus Van Damme shows how to auto-trigger a View Transition with MutationObserver. - https://www.bram.us/2024/11/25/experiment-automatically-triggered-view-transitions-with-mutationobserver
#css
Bramus Van Damme shows how to auto-trigger a View Transition with MutationObserver. - https://www.bram.us/2024/11/25/experiment-automatically-triggered-view-transitions-with-mutationobserver
#css
Bram.us
Experiment: Automatically triggered View Transitions with MutationObserver
A MutationObserver and document.startViewTransition love story.
Solved by CSS: Donuts Scopes
Juan Diego Rodríguez explores different solutions to prevent parent styles from leaking to nested content, including 2024’s @scope at-rule. - https://css-tricks.com/solved-by-css-donuts-scopes
#css
Juan Diego Rodríguez explores different solutions to prevent parent styles from leaking to nested content, including 2024’s @scope at-rule. - https://css-tricks.com/solved-by-css-donuts-scopes
#css
CSS-Tricks
Solved By CSS: Donuts Scopes | CSS-Tricks
Donut scoping addresses the challenge of preventing parent styles from leaking to nested content. Originating from a 2011 concept by Nicole Sullivan, the issue has evolved, culminating in 2024's @scope at-rule. This allows for more precise CSS styling, safeguarding…
Solved By Modern CSS: Feature Image
Ahmad Shadeed shows how to use container queries and CSS :has() to build a feature image. - https://ishadeed.com/article/modern-css-feature-image
#css
Ahmad Shadeed shows how to use container queries and CSS :has() to build a feature image. - https://ishadeed.com/article/modern-css-feature-image
#css
Ishadeed
Solved By Modern CSS: Feature Image
Using container queries and CSS :has() to build a feature image.
Baseline 2024: More Tools To Help Web Developers
Mariko Kosaka, Pete LePage, and Rachel Andrew share how the Baseline project evolved in 2024. - https://web.dev/blog/baseline-project-2024
#css
Mariko Kosaka, Pete LePage, and Rachel Andrew share how the Baseline project evolved in 2024. - https://web.dev/blog/baseline-project-2024
#css
web.dev
Baseline 2024: more tools to help web developers | Articles | web.dev
web-features dataset, Web Platform Status dashboard, Baseline status widget and more! Take a look back on Baseline in 2024.
Pure CSS Halftone Effect in 3 Declarations
Ana Tudor demonstrates how to create a stunning halftone effect using a single “div”, no pseudos and just three CSS properties. - https://frontendmasters.com/blog/pure-css-halftone-effect-in-3-declarations
#css
Ana Tudor demonstrates how to create a stunning halftone effect using a single “div”, no pseudos and just three CSS properties. - https://frontendmasters.com/blog/pure-css-halftone-effect-in-3-declarations
#css
Frontendmasters
Pure CSS Halftone Effect in 3 Declarations
A halftone is a pattern of dots that vary in size and spacing. It's a printing technique that you normally don't see, but blown up in size, is a cool aesthetic. This is a deep dive on how it can be done in CSS alone, starting quite simply!
Mastering SVG Arcs
Akshay Gupta explains how to master radii, rotation, and arc direction to create stunning curves in SVG. - https://www.smashingmagazine.com/2024/12/mastering-svg-arcs
#css
Akshay Gupta explains how to master radii, rotation, and arc direction to create stunning curves in SVG. - https://www.smashingmagazine.com/2024/12/mastering-svg-arcs
#css
Smashing Magazine
Mastering SVG Arcs — Smashing Magazine
SVG arcs demystified! Akshay Gupta explains how to master radii, rotation, and arc direction to create stunning curves. Make arcs a powerful part of your SVG toolkit for creating more dynamic, intricate designs with confidence.
New Front-End Features For Designers In 2025
Cosima Mielke outlines some new front-end features and explores how they can simplify your day-to-day work and help you build modern UI components. - https://www.smashingmagazine.com/2024/12/new-front-end-features-for-designers-in-2025
#css
Cosima Mielke outlines some new front-end features and explores how they can simplify your day-to-day work and help you build modern UI components. - https://www.smashingmagazine.com/2024/12/new-front-end-features-for-designers-in-2025
#css
Smashing Magazine
New Front-End Features For Designers In 2025 — Smashing Magazine
Searching for the most flexible front-end workflows and toolkits, it’s easy to forget how powerful some of the fundamentals on the web have become these days. This post is a journey through new front-end features and what they are capable of.
Why I’m excited about text-box-trim as a designer
Jason Bradberry shows what’s possible in the real world with the new CSS text-box-trim capabilities from a designer’s perspective and gives a deep dive into the text spacing and alignment problems it solves. - https://piccalil.li/blog/why-im-excited-about-text-box-trim-as-a-designer
#css
Jason Bradberry shows what’s possible in the real world with the new CSS text-box-trim capabilities from a designer’s perspective and gives a deep dive into the text spacing and alignment problems it solves. - https://piccalil.li/blog/why-im-excited-about-text-box-trim-as-a-designer
#css
Piccalilli
Why I’m excited about text-box-trim as a designer
Jason Bradberry shows us what’s possible in the real world with the new CSS text-box-trim capabilities from a designer’s perspective, and gives us a deep dive into the text spacing and alignment problems it solves.
calc-size() and interpolate size
Kevin Powell explains how it’s now possible to animate to or from height: auto and other intrinsic sizes. - https://12daysofweb.dev/2024/calc-size-and-interpolate-size
#css
Kevin Powell explains how it’s now possible to animate to or from height: auto and other intrinsic sizes. - https://12daysofweb.dev/2024/calc-size-and-interpolate-size
#css
12daysofweb.dev
calc-size() and interpolate size | 12 Days of Web
It's now possible to animate to or from height: auto and other intrinsic sizes.
Balancing Text In CSS
Ahmad Shadeed demonstrates how to make text look more balanced in CSS. - https://ishadeed.com/article/balancing-text-css
#css
Ahmad Shadeed demonstrates how to make text look more balanced in CSS. - https://ishadeed.com/article/balancing-text-css
#css
Ishadeed
Balancing Text In CSS
Make text look more balanced with text-wrap in CSS.
How to Wait for the sibling-count() and sibling-index() Functions
Juan Diego Rodríguez looks at two upcoming functions: sibling-count() and sibling-index(). - https://css-tricks.com/how-to-wait-for-the-sibling-count-and-sibling-index-functions
#css
Juan Diego Rodríguez looks at two upcoming functions: sibling-count() and sibling-index(). - https://css-tricks.com/how-to-wait-for-the-sibling-count-and-sibling-index-functions
#css
CSS-Tricks
How To Wait For The Sibling-count() And Sibling-index() Functions | CSS-Tricks
Today, I want to look into one of those cases of impatient and how the community has waited for that feature, to be specific, two upcoming functions: sibling-count() and sibling-index().
CSS box-decoration-break
Kilian Valkhof explains how to style elements that span multiple lines. - https://12daysofweb.dev/2024/css-box-decoration-break
#css
Kilian Valkhof explains how to style elements that span multiple lines. - https://12daysofweb.dev/2024/css-box-decoration-break
#css
12daysofweb.dev
CSS box-decoration-break | 12 Days of Web
Deal with styling for elements that span multiple lines.
CSS light-dark()
Mayank gives a nice introduction to light-dark(), a new CSS function that returns one of two color values based on the current color scheme. - https://12daysofweb.dev/2024/css-light-dark
#css
Mayank gives a nice introduction to light-dark(), a new CSS function that returns one of two color values based on the current color scheme. - https://12daysofweb.dev/2024/css-light-dark
#css
12daysofweb.dev
CSS light-dark() | 12 Days of Web
A new CSS function that returns one of two color values based on the current color scheme.
The :empty pseudo-class in CSS
Chris Ferdinandi shares a quick tip showing when :empty pseudo-class can be helpful. - https://gomakethings.com/the-empty-pseudo-class-in-css
#css
Chris Ferdinandi shares a quick tip showing when :empty pseudo-class can be helpful. - https://gomakethings.com/the-empty-pseudo-class-in-css
#css
Gomakethings
The :empty pseudo-class in CSS
One of my favorite not-so-new aspects of CSS is the :empty pseudo-class.
You can use this to target elements that have no children—either child elements or whitespace and text nodes—and style them differently than they would be otherwise.
For example, imagine…
You can use this to target elements that have no children—either child elements or whitespace and text nodes—and style them differently than they would be otherwise.
For example, imagine…
New capabilities for attr()
Una Kravets outlines how new attr() capabilites allow you to reference colors, numbers, percentages, named values as custom identifiers, and more. - https://una.im/advanced-attr
#css
Una Kravets outlines how new attr() capabilites allow you to reference colors, numbers, percentages, named values as custom identifiers, and more. - https://una.im/advanced-attr
#css
una.im
una.im | New capabilities for attr()
Advanced attr() is landing in Chrome 133, and I'm really excited for this feature! Here's a bit about it and how you can use it.
Transitioning Top-Layer Entries And The Display Property In CSS
Brecht De Ruyte showcases two recent additions for working with CSS animations: @starting-style and transition-behavior. - https://www.smashingmagazine.com/2025/01/transitioning-top-layer-entries-display-property-css
#css
Brecht De Ruyte showcases two recent additions for working with CSS animations: @starting-style and transition-behavior. - https://www.smashingmagazine.com/2025/01/transitioning-top-layer-entries-display-property-css
#css
Smashing Magazine
Transitioning Top-Layer Entries And The Display Property In CSS — Smashing Magazine
It’s not always the big features that make our everyday lives easier; sometimes, it’s those ease-of-life features that truly enhance our projects. In this article, Brecht De Ruyte highlights two such features: `@starting-style` and `transition-behavior` —…
Here’s Why Your Anchor Positioning Isn’t Working
James Stuckey Weber shares a simple checklist to help debug anchor elements. - https://www.oddbird.net/2025/01/29/anchor-position-validity
#css
James Stuckey Weber shares a simple checklist to help debug anchor elements. - https://www.oddbird.net/2025/01/29/anchor-position-validity
#css
OddBird
Here's Why Your Anchor Positioning Isn't Working
How to find an anchor element
Full-Bleed Layout with Modern CSS
Temani Afif digs deep into the idea of full-bleed layouts. - https://frontendmasters.com/blog/full-bleed-layout-with-modern-css
#css
Temani Afif digs deep into the idea of full-bleed layouts. - https://frontendmasters.com/blog/full-bleed-layout-with-modern-css
#css
Frontendmasters
Full-Bleed Layout with Modern CSS
Just four declarations in CSS can handle this nicely, while avoiding the vertical scrollbar issue.