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

Re: Parametric CSS

From: Alan <mmfunkyd@hotmail.com>
Date: Wed, 29 Mar 2017 16:27:35 +0000
To: Oriol _ <oriol-bugzilla@hotmail.com>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <BL2PR17MB08516AFBF06817BAF82BD41CC4350@BL2PR17MB0851.namprd17.prod.outlook.com>
Huge thanks. Exactly what I was looking for. I truly hope this picks up some traction, with the advent of component-based front-end development.


On Mar 29, 2017, at 11:52, Oriol _ <oriol-bugzilla@hotmail.com<mailto:oriol-bugzilla@hotmail.com>> wrote:


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 16:28:08 UTC

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