I had forgotten that CSS attr()
is only supported for values of content
. I was excited thinking I could save a bunch of lines of CSS using attr()
in calc()
. Took me a while to figure out why it wasn’t working.
I had forgotten that CSS attr()
is only supported for values of content
. I was excited thinking I could save a bunch of lines of CSS using attr()
in calc()
. Took me a while to figure out why it wasn’t working.