Hacker News new | ask | show | jobs
by bennettfeely 4250 days ago
Someday, but right now the support for using 'attr()' function in properties other than 'content' is very poor.
1 comments

Correct, attr() for use with anything than the content property is unsupported by most browsers.

(https://developer.mozilla.org/en-US/docs/Web/CSS/attr)