CSS3 attr() function for all properties
0
While `attr()` is supported for effectively all browsers for the `content` property, CSS Values and Units Level 3 adds the ability to use `attr()` on **any** CSS property, and to use it for non-string values (e.g. numbers, colors).
Further reading:
- Can I use page for: CSS3 attr() function for all properties
- MDN Web Docs - CSS attr
- Microsoft Edge feature request on UserVoice
- Mozilla Bug #435426: implement css3-values extensions to `attr()`
- Chromium issue #246571: Implement CSS3 attribute / attr references
- WebKit Bug #26609: Support CSS3 attr() function