The Undeniable Utility Of CSS :has
Joshua Comeau outlines some practical, real-world problems you can solve using :has(), and some wild experiments that might blow your mind. - https://www.joshwcomeau.com/css/has
#css
Joshua Comeau outlines some practical, real-world problems you can solve using :has(), and some wild experiments that might blow your mind. - https://www.joshwcomeau.com/css/has
#css
Joshwcomeau
The Undeniable Utility Of CSS :has • Josh W. Comeau
Of all the latest and greatest CSS features, the “:has” pseudo-class wasn’t exactly at the top of my wishlist. Once I started using it, however, I kept discovering incredible things I could do with it. It’s now become a core part of my toolkit! In this blog…
The Ultimate Guide to Font Performance Optimization
Anna Monus created a comprehensive guide to font performance optimization — a set of techniques that make fonts load faster and render more smoothly. - https://www.debugbear.com/blog/website-font-performance
#css
Anna Monus created a comprehensive guide to font performance optimization — a set of techniques that make fonts load faster and render more smoothly. - https://www.debugbear.com/blog/website-font-performance
#css
Debugbear
The Ultimate Guide to Font Performance Optimization | DebugBear
Font performance optimization is a set of web development techniques that make fonts load faster and render more smoothly, including thoughtful font selection, the use of performant font formats, self-hosting, optimized @font-face declarations, font display…
Can You Convert a Video to Pure CSS?
David G. embarked on a fascinating experiment to figure out if it’s possible to play a video as pure CSS. - https://dgerrells.com/blog/can-you-convert-a-video-to-pure-css
#css
David G. embarked on a fascinating experiment to figure out if it’s possible to play a video as pure CSS. - https://dgerrells.com/blog/can-you-convert-a-video-to-pure-css
#css
David Gerrells
Can you convert a video to pure css?
Can you convert a video to pure css? Yes, yes you can. And this is how.
The Two Lines of CSS That Tanked Performance (120fps to 40fps)
Andrico Karoulla demonstrates how you can debug and fix potential performance problems caused by CSS. - https://component-odyssey.com/articles/13-improving-performance-by-changing-two-lines-of-css
#css
Andrico Karoulla demonstrates how you can debug and fix potential performance problems caused by CSS. - https://component-odyssey.com/articles/13-improving-performance-by-changing-two-lines-of-css
#css
Component-Odyssey
The Two Lines of CSS That Tanked Performance (120fps to 40fps)
Learn WCs felt so sluggish on Firefox that I disabled the background animation for all users. Turns out, fixing it took changing two lines of CSS.
CSS @property and the New Style
Ryan Mulligan explores the newly supported @property at-rule for explicitly defining and animating custom properties in CSS. - https://ryanmulligan.dev/blog/css-property-new-style
#css
Ryan Mulligan explores the newly supported @property at-rule for explicitly defining and animating custom properties in CSS. - https://ryanmulligan.dev/blog/css-property-new-style
#css
ryanmulligan.dev
CSS @property and the New Style
An exploration of the newly supported at-rule for explicitly defining and animating custom properties in CSS.
Anchor Positioning Quirks
Juan Diego Rodríguez discusses some anchor positioning head-scratchers. - https://css-tricks.com/anchor-positioning-quirks
#css
Juan Diego Rodríguez discusses some anchor positioning head-scratchers. - https://css-tricks.com/anchor-positioning-quirks
#css
CSS-Tricks
Anchor Positioning Quirks | CSS-Tricks
I am thrilled to say, that from this week onwards, the CSS-tricks Almanac has an entry for each property, function, and at-rule related to the new Anchor
Sticky Headers And Full-Height Elements: A Tricky Combination
Philip Braunen explores why sticky elements don’t play nicely if they coordinate with other elements to make up a combined height (like 100vh) and presents a solution to fix it. - https://www.smashingmagazine.com/2024/09/sticky-headers-full-height-elements-tricky-combination
#css
Philip Braunen explores why sticky elements don’t play nicely if they coordinate with other elements to make up a combined height (like 100vh) and presents a solution to fix it. - https://www.smashingmagazine.com/2024/09/sticky-headers-full-height-elements-tricky-combination
#css
Smashing Magazine
Sticky Headers And Full-Height Elements: A Tricky Combination — Smashing Magazine
Sticky positioning is one of those CSS features that’s pretty delicate and can be negated by a lot of things, so here’s another one to add to your mental catalog: Sticky elements don’t play nicely if they have to coordinate with other elements to make up…
WebKit Features in Safari 18.0
Jen Simmons gives an overview of new web platform features that just landed in WebKit, the rendering engine driving Safari. - https://webkit.org/blog/15865/webkit-features-in-safari-18-0
#css
Jen Simmons gives an overview of new web platform features that just landed in WebKit, the rendering engine driving Safari. - https://webkit.org/blog/15865/webkit-features-in-safari-18-0
#css
WebKit
WebKit Features in Safari 18.0
Safari 18.0 is here.
Two CSS Properties for Trimming Text Box Whitespace
Daniel Schwarz explains how the text-box-trim and text-box-edge enable you to trim specifiable amounts of the whitespace above and below text. - https://css-tricks.com/two-css-properties-for-trimming-text-box-whitespace
#css
Daniel Schwarz explains how the text-box-trim and text-box-edge enable you to trim specifiable amounts of the whitespace above and below text. - https://css-tricks.com/two-css-properties-for-trimming-text-box-whitespace
#css
CSS-Tricks
Two CSS Properties For Trimming Text Box Whitespace | CSS-Tricks
The text-box-trim and text-box-edge properties in CSS enable developers to trim specifiable amounts of the whitespace that appear above the
Animate to height: auto; in CSS
Bramus Van Damme explains how to use the interpolate-size property or the calc-size() function to enable smooth transitions and animations from lengths to intrinsic sizing keywords and back. - https://developer.chrome.com/docs/css-ui/animate-to-height-auto
#css
Bramus Van Damme explains how to use the interpolate-size property or the calc-size() function to enable smooth transitions and animations from lengths to intrinsic sizing keywords and back. - https://developer.chrome.com/docs/css-ui/animate-to-height-auto
#css
Chrome for Developers
Animate to height: auto; (and other intrinsic sizing keywords) in CSS | CSS and UI | Chrome for Developers
Animate to and from intrinsic sizing keywords with `interpolate-size` and `calc-size()`
Making Orbit Animations with CSS Custom Properties
Will Boyd shows how to use CSS custom properties to compose animations in a sensible way. - https://codersblock.com/blog/making-orbit-animations-with-css-custom-properties
#css
Will Boyd shows how to use CSS custom properties to compose animations in a sensible way. - https://codersblock.com/blog/making-orbit-animations-with-css-custom-properties
#css
Codersblock
Making Orbit Animations with CSS Custom Properties
Let’s animate some CSS custom properties! This is a powerful way to approach CSS animations that would otherwise be tedious or impractical to implement. I’ll...
Selecting Previous Siblings
Chris Coyier showcases a creative and fun use of CSS selectors, including :has() pseudo-class. - https://frontendmasters.com/blog/selecting-previous-siblings
#css
Chris Coyier showcases a creative and fun use of CSS selectors, including :has() pseudo-class. - https://frontendmasters.com/blog/selecting-previous-siblings
#css
Frontendmasters
Selecting Previous Siblings – Frontend Masters Boost
Selecting the *next* element in CSS can be done easily with the + combinator. Selecting the *previous* element used to be impossible, but now can be like :has(+ .el), and can be extended in either direction.
Feedback needed: How should we define CSS masonry?
Rachel Andrew, Ian Kilpatrick, and Tab Atkins-Bittner are asking for your feedback on defining CSS Masonry. It could be defined either with display: masonry or with display: grid. - https://developer.chrome.com/blog/masonry-syntax
#css
Rachel Andrew, Ian Kilpatrick, and Tab Atkins-Bittner are asking for your feedback on defining CSS Masonry. It could be defined either with display: masonry or with display: grid. - https://developer.chrome.com/blog/masonry-syntax
#css
Chrome for Developers
Feedback needed: How should we define CSS masonry? | Blog | Chrome for Developers
A comparison of the two proposed masonry specifications.
Improving rendering performance with CSS content-visibility
Nolan Lawson demonstrates how you can use content-visibility to improve performance. - https://nolanlawson.com/2024/09/18/improving-rendering-performance-with-css-content-visibility
#css
Nolan Lawson demonstrates how you can use content-visibility to improve performance. - https://nolanlawson.com/2024/09/18/improving-rendering-performance-with-css-content-visibility
#css
Read the Tea Leaves
Improving rendering performance with CSS content-visibility
Recently I got an interesting performance bug on emoji-picker-element: I’m on a fedi instance with 19k custom emojis […] and when I open the emoji picker […], the page freezes for like a full…
New Values and Functions in CSS
Alvaro Montoro gives a fantastic overview of new values and functions coming to CSS. - https://alvaromontoro.com/blog/68062/new-values-and-functions-in-CSS
#css
Alvaro Montoro gives a fantastic overview of new values and functions coming to CSS. - https://alvaromontoro.com/blog/68062/new-values-and-functions-in-CSS
#css
Alvaromontoro
New Values and Functions in CSS
The CSS Working Group released the first Public Working Draft for the CSS Values and Units Module Level 5. It describes the common values and units that CSS properties accept and the syntax used for them, and it comes with some interesting new features. A…
Sticky Headers And Full-Height Elements: A Tricky Combination
Philip Braunen explores why sticky elements don’t play nicely if they have to coordinate with other elements to make up a combined height and presents a solution to fix it. - https://www.smashingmagazine.com/2024/09/sticky-headers-full-height-elements-tricky-combination
#css
Philip Braunen explores why sticky elements don’t play nicely if they have to coordinate with other elements to make up a combined height and presents a solution to fix it. - https://www.smashingmagazine.com/2024/09/sticky-headers-full-height-elements-tricky-combination
#css
Smashing Magazine
Sticky Headers And Full-Height Elements: A Tricky Combination — Smashing Magazine
Sticky positioning is one of those CSS features that’s pretty delicate and can be negated by a lot of things, so here’s another one to add to your mental catalog: Sticky elements don’t play nicely if they have to coordinate with other elements to make up…
Is the sticky thing stuck? Is the snappy item snapped? A look at state queries in CSS
Brecht De Ruyte shares first impressions and demos with state queries in CSS and Scroll Snap events in JavaScript. - https://utilitybend.com/blog/is-the-sticky-thing-stuck-is-the-snappy-item-snapped-a-look-at-state-queries-in-css
#css
Brecht De Ruyte shares first impressions and demos with state queries in CSS and Scroll Snap events in JavaScript. - https://utilitybend.com/blog/is-the-sticky-thing-stuck-is-the-snappy-item-snapped-a-look-at-state-queries-in-css
#css
Utilitybend
Is the sticky thing stuck? Is the snappy item snapped? A look at state queries in CSS | utilitybend
Excited to finally explore CSS state queries and Scroll Snap events. This article will showcase initial impressions and demos using these features.
Building the Perfect Logo Strip
Nils Binder shows a clever technique to create a visually balanced row of logos. - https://9elements.com/blog/building-the-perfect-logo-strip
#css
Nils Binder shows a clever technique to create a visually balanced row of logos. - https://9elements.com/blog/building-the-perfect-logo-strip
#css
9elements
Building the Perfect Logo Strip - 9elements
We've all been there: you're working on a website and need to display a row of logos—clients, partners, sponsors—you name it. However, logos come in all shapes and sizes, and making them look good together can be quite challenging. How do you get...
Split Effects with no Content Duplication
Ana Tudor explains in detail how to create a split effect without content duplication. - https://frontendmasters.com/blog/split-effects-with-no-content-duplication
#css
Ana Tudor explains in detail how to create a split effect without content duplication. - https://frontendmasters.com/blog/split-effects-with-no-content-duplication
#css
Frontendmasters
Split Effects with no Content Duplication – Frontend Masters Boost
The `clip-path` property with the `inset()` shape makes for some cool design opportunities. Here we'll expand on some existing ideas, improving them by not requiring any content duplication.
An Abridged History of Safari Showstoppers
Roderick Gadellaa outlines some challenges developers face when working with Safari. - https://webventures.rejh.nl/blog/2024/history-of-safari-show-stoppers
#css
Roderick Gadellaa outlines some challenges developers face when working with Safari. - https://webventures.rejh.nl/blog/2024/history-of-safari-show-stoppers
#css
Webventures
An Abridged History of Safari Showstoppers - Webventures
TL;DR: iOS Safari is more than an inconvenience for developers, it's the fundamental reason interoperability has been stymied in...