A CSS Houdini worklet would be another way to represent this in CSS.
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Houdini
https://houdini.how/
A CSS Houdini worklet would be another way to represent this in CSS.
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Houdini
https://houdini.how/