DEV Community

Discussion on: Code block $ prefix

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.


glennmen profile image
Glenn Carremans Author

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

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!