Hacker News with Generative AI: Styling

CSS Attr() Gets an Upgrade (chrome.com)
With CSS attr() you can use the value of an HTML attribute in your CSS. Until now attr() only worked within the content property of pseudo-elements and could only parse values into a CSS <string>.
Vertical-Align: All You Need to Know (CSS) (2014) (christopheraue.net)