- From: Christoph Päper via GitHub <sysbot+gh@w3.org>
- Date: Thu, 06 Oct 2016 10:19:16 +0000
- To: public-css-archive@w3.org
Crissov has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-values] meta() – Access Document Metadata == * [V&U: Functional Notations](https://drafts.csswg.org/css-values/#functional-notations) * [whatwg/html#1868: “Single source theme-color values”](https://github.com/whatwg/html/issues/1868#issuecomment-251920081) Like local element attributes with `attr()`, it would sometimes be handy to be able to access document-wide meta data, e.g. with HTML: ``` html <meta name="theme-color" content="#F00B42"> ``` ``` css h1 {color: meta("theme-color" color, red;)} h2 {background: meta("theme-color" color, red;)} ``` Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/575 using your GitHub account
Received on Thursday, 6 October 2016 10:19:26 UTC