3 points · by hypomnemata · 5y ago · 0 comments
No comments yet.
Sharing data between CSS and JavaScript using custom properties
Read and set CSS custom properties from JavaScript to pass data like mouse coordinates into CSS, keeping logic in JS and all look and feel in your stylesheet.
Christian Heilmann