I want access to attr()
within calc()
Submitted by Radoslav Sharapanov
Permalink https://webwewant.fyi/wants/5e601f17c9c2383abc475f5c/
We have access to attribute values (via attr()
) in generated content. It would be nice to have that access elsewhere too. For example, it could be useful to access a data-*
attribute and pull that value into a calculated width (using calc()
).