Re: Parametric CSS

I think this is supposed to work:

.progress-bar-completion {
  width: attr(completion-percentage %);
}


But it seems browser are not interested in implementing it.

See https://drafts.csswg.org/css-values-3/#attr-notation

--Oriol

Received on Wednesday, 29 March 2017 15:53:02 UTC