Search

Nalezeno "amp": 984

Poking at the CSS if() Function a Little More: Conditional Color Theming


The CSS if() function enables us to use values conditionally, which we can already do with queries and other functions, so I’m sure you’re wondering: What exactly does if() do? Let's look at a possible real-world use case. Poking at the CSS if() Function a Little More: Conditional Color Theming...

Lightly Poking at the CSS if() Function in Chrome 137


The CSS if() function was recently implemented in Chrome 137, making it the first instance where we have it supported by a mainstream browser. Let's poke at it a bit at a very high level. Lightly Poking at the CSS if() Function in Chrome 137 originally published on CSS-Tricks, which is part of...

A Better API for the Intersection and Mutation Observers


Zell discusses refactoring the Resize, Mutation, and Intersection Observer APIs for easier usage, demonstrating how to implement callback and event listener patterns, while highlighting available options and methods. A Better API for the Intersection and Mutation Observers originally published...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace