W3C home > Mailing lists > Public > www-style@w3.org > March 2017

Re: Parametric CSS

From: Oriol _ <oriol-bugzilla@hotmail.com>
Date: Wed, 29 Mar 2017 15:52:28 +0000
To: Alan <mmfunkyd@hotmail.com>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <VI1PR09MB0029396EE43A0B495CB320EF97350@VI1PR09MB0029.eurprd09.prod.outlook.com>

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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:07 UTC