The Future of CSS: Construct <custom-ident> and <dashed-ident> values with ident()
> Uniquely name a bunch elements in CSS in one go! Instead of assigning 100 unique names through 100 declarations, write only 1 and use ident() to construct the names.
🔗 https://brm.us/ident
@bramus Very much in support of this! I can definitely see uses for this.
Question: would this be usable for building URLs that for example use an attribute or a variable? (`background: url(ident("/files/icon/" attr(data-icon) ".svg#hue=" var(--hue, 0)))` (crappy example but I think you get the idea!)
I know it's been discussed in the past (perhaps with a new function? I don't recall), and I know that a URL is not an ident, but just feels like they share a similar goal of constructing strings.