惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
腾讯CDC
博客园 - 聂微东
爱范儿
爱范儿
罗磊的独立博客
P
Proofpoint News Feed
博客园 - Franky
博客园 - 三生石上(FineUI控件)
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
酷 壳 – CoolShell
酷 壳 – CoolShell
Jina AI
Jina AI
Blog — PlanetScale
Blog — PlanetScale
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 司徒正美
美团技术团队
MongoDB | Blog
MongoDB | Blog
WordPress大学
WordPress大学
A
About on SuperTechFans
I
InfoQ
博客园_首页
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
H
Help Net Security
Microsoft Azure Blog
Microsoft Azure Blog
G
Google Developers Blog

CSS-Tricks

Let’s Use the Emergent CSS random() Function in all the Browsers | CSS-Tricks What’s !important #18: <geolocation>, Syntax ::highlight()ing, named-feature(), and More | CSS-Tricks Creating Web Widgets Using the Document Picture-in-Picture API | CSS-Tricks animation-trigger | CSS-Tricks MicroLighter: Syntax Highlighter | CSS-Tricks WordPress PHP-Only Block Registration | CSS-Tricks Resolved: CSS Class Prefix Selector | CSS-Tricks CSS Navigation Matching, Early Days | CSS-Tricks WordPress.com Student Plan | CSS-Tricks Dark mode toggles: two states are enough | CSS-Tricks What’s !important #17: Custom Highlight API, CSS Navigation Matching, Fixing text-stroke, and More | CSS-Tricks Blocked aria-hidden: The Warning is Right, and Every Fix You've Found is Wrong | CSS-Tricks Animating CSS border-image | CSS-Tricks SmashingConf Freiburg 2026, September 7-10 | CSS-Tricks Using and Styling the Dialog Element | CSS-Tricks 2026 State of CSS, Devs Surveys | CSS-Tricks Gap Decorations Are Now Available, Here’s What’s New | CSS-Tricks writing-mode | CSS-Tricks pointer-events | CSS-Tricks What’s !important #15: Boundary-aware CSS, Time-based CSS, Full-bleed CSS, and More | CSS-Tricks Get Ready For the Powerful CSS border-shape Property! | CSS-Tricks What’s !important #14: Gap Decorations, random(), <select> field sizing, and More | CSS-Tricks The Shifting Line Between CSS States and JavaScript Events | CSS-Tricks translateZ() | CSS-Tricks translateY() | CSS-Tricks translateX() | CSS-Tricks translate() | CSS-Tricks Using Scroll-Driven Animations for Opposing Scroll Directions | CSS-Tricks A First Look at Scroll-Triggered Animations | CSS-Tricks The Siren Song of  ariaNotify() | CSS-Tricks
What’s !important #16: sibling-index() Animations, Use Ca...
Daniel Schwarz · 2026-07-30 · via CSS-Tricks

In What’s !important #16, see how the soon-Baseline sibling-index() function can be used for animations, revisit the 2026 FIFA World Cup with CSS, explore the use cases for the infinity keyword, learn about container ‘stuck’ queries, and much more.

Following on from Chris Coyier’s In-N-Out Animations series, Temani Afif showed us how to use sibling-index() for animations, which Firefox 154 will ship on the 18th of August, 2026, making it Baseline: Newly Available. The demos are exceptionally cool, so I’ll share a couple of them below:

How to code a knockout bracket

The 2026 FIFA World Cup has concluded, which even with all of its controversies was an absolute banger. For those feeling the post-World Cup blues, Ahmad Shadeed showed us how to build the knockout bracket using CSS. This is such a fun read — definitely don’t miss this.

Source: Ahmad Shadeed.

Use cases for the infinity keyword

There’s a calc() keyword called infinity, which can be negative (-infinity). If you’re wondering why you’d ever need such numbers, Adam Argyle explained the different use cases for infinity in this really interesting read.

There’s one that I’d like to add, though:

corner-shape: square;
/* is equivalent to */
corner-shape: superellipse(infinity);

corner-shape: notch;
/* is equivalent to */
corner-shape: superellipse(-infinity);

Basically, infinity makes rounded corners like, not rounded at all (i.e., technically rounded but squared/notched to the naked eye).

Should lazy loading be the default?

Lea Verou said this about lazy loading:

This is exactly why we need something like @tabatkins.com's old CAS proposal. Imagine if you could do img, video { loading: lazy; } to change the defaults, and then just use loading="eager" on the actual elements to override.

[image or embed]

— Lea Verou, PhD (@lea.verou.me) 15:12 · Jul 16, 2026

What do you think? Make sure to read the comments!

3 ways to animate hand-drawn text

Johannes Bechberger showcased three ways to animate hand-drawn text. SVG scares the heck out of me to be honest, but Johannes cuts right to chase in the code comments.

Source: Mostly Nerdless.

An introduction to container ‘stuck’ queries

Chris Coyier demonstrated how to query whether an element is stuck using container scroll state queries (more specifically, using @container scroll-state(stuck: <keyword>)). This is one of those new container queries; although, neither Safari nor Firefox supports it yet.

New web platform updates and features

Want to see something weird? Chrome’s roadmap appears to be scheduled up for the next 14 years, stopping right after Chrome 499 specifically.

We’ll be on What’s !important #354 by then!

Anyway, until next time (What’s !important #17).