DEV Community

Discussion on: Code block $ prefix

Collapse
 
rpalo profile image
Ryan Palo

This is neat! I didn't realize you could pass things directly from HTML attributes to CSS using the attr() function. That seems like a really semantic way of handling cases like this.

Thanks!

Collapse
 
glennmen profile image
Glenn Carremans

It always makes me happy to be able to learn new things to other people๐Ÿ˜„

Collapse
 
amdev83 profile image
Aaron L Marks

I came here to say the same thing! I didn't know that you could pass data around like that. This is awesome!