Poll about naming a new CSS function that coerces/concatenates strings:
.bar-graph {
--size: 50%;
height: var(--size);
content: NAME(var(--size));
}
.icon {
--icon-id: 23;
background: url(NAME("/assets/icon-", var(--icon-id), ".svg"));
}
NAME = ?
19%
text()
60%
concat()
14%
to-string()
7%
Other (respond in thread)
1,431 votes • Final results