Written by: Daniel Schwarz
CSS has always had pseudo-classes that style things when baed on user interactions. Recent features, however, are blurring the line between what CSS “listens” for and how they are alternatives to what Javascript typically listens for.
Continue reading "The Shifting Line Between CSS States and JavaScript Events" at CSS-Tricks
Written by: Daniel Schwarz
Firefox 154 (Nightly) ships progress(), advanced attr(), and a UI for <input type=”time”> and <input type=”datetime-local”>.
Continue reading "Quick Hit #153" at CSS-Tricks
Written by: Daniel Schwarz
Chrome 150 (Beta) and Firefox 154 (Nightly) trial the alpha() relative color CSS function.
Continue reading "Quick Hit #152" at CSS-Tricks
Written by: Silvestar Bistrović
Sometimes designers have silly ideas that eventually grow on you. That happened to me with this concept where I had […]
Continue reading "Using Scroll-Driven Animations for Opposing Scroll Directions" at CSS-Tricks
Written by: Daniel Schwarz
Safari TP 246 becomes the first to trial the alpha() relative color CSS function.
Continue reading "Quick Hit #151" at CSS-Tricks
Written by: Daniel Schwarz
Let’s poke at the differences between scroll-driven and scroll-triggered animations.
Continue reading "A First Look at Scroll-Triggered Animations" at CSS-Tricks
Written by: Daniel Schwarz
Safari TP 246 trials scroll-state queries and word-break: auto-phrase (lacks Firefox support).
Continue reading "Quick Hit #150" at CSS-Tricks
Written by: Daniel Schwarz
Safari TP 246 adds support for <image> values in light-dark() and three or more values in color-mix() (lacks Chrome support).
Continue reading "Quick Hit #149" at CSS-Tricks
Written by: Mat Marquis
There’s a brand new ariaNotify() method — defined by the WAI-ARIA 1.3 Specification — that provides a means of programmatically triggering narration in a screen reader.
Continue reading "The Siren Song of ariaNotify()" at CSS-Tricks
Written by: Geoff Graham
Props for That creates live props based things CSS can’t normally see in the browser. Things like cursor position, progress values, certain form states, current time, scroll velocity.
Continue reading "Prop For That" at CSS-Tricks
Written by: Daniel Schwarz
Firefox 152 implements field-sizing, which enables form controls to fit their content even as the user types, making it Baseline.
Continue reading "Quick Hit #148" at CSS-Tricks
Written by: Daniel Schwarz
CSS functions, the alpha() function, Grid Lanes, some things about Dialog that you might not know, CSS Wordle, and more — this is What’s !important right now.
Continue reading "What’s !important #13: @function, alpha(), CSS Wordle, and More" at CSS-Tricks