The CSS attr() Function Just Got Superpowers – Here's How to Use It

For over a decade, the attr() function in CSS has existed... but barely. Previously limited to only content manipulation in ::before and…