Skip to content

Files

Latest commit

 

History

History
10 lines (9 loc) · 487 Bytes

5e601f17c9c2383abc475f5c.md

File metadata and controls

10 lines (9 loc) · 487 Bytes
title date submitter number tags discussion
I want access to `attr()` within `calc()`
2020-03-04 21:35:19 UTC
Radoslav Sharapanov
5e601f17c9c2383abc475f5c
css

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()).