Hacker News new | past | comments | ask | show | jobs | submit login

Thanks for the explanation, I've never seen the attr() property before. A lot of similar codepens I've seen in the past, that do fancy stylings, are suddenly making sense.

I always struggle to change my mental model about css to be more expressive, but now many wheels are starting to turn.




Glad I could help! This is definitely weirder CSS territory but it unlocks some really wonderful techniques.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: