Follow
Introducing @bramus/style-observer, a MutationObserver for CSS.
It allows you to attach JavaScript callbacks to changes in computed values of CSS properties.
🔗 https://www.bram.us/2024/08/31/introducing-bramus-style-observer-a-mutationobserver-for-css/