Prop For That
dev_tools
Props for That is a CSS-Tricks utility that generates live custom properties from browser states normally invisible to stylesheets: cursor position, scroll velocity, form states, and current time. Developers can now style based on these live values directly in CSS, eliminating the need for JavaScript glue code.
Source: https://css-tricks.com/prop-for-that/
Listen to this story
Hear this and more stories in a personalized audio briefing.
Open The Chonkerton