🎉 OMG OMG OMG Chrome is shipping CSS attr() for every property!!! 🎉
I’ve been asking for this for over a decade!! w00t!!! 🤩
developer.chrome.com/blog/advance...
You can now use attr() with any CSS property–including custom properties–and it can parse values into data types other than strings.