W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2016

[csswg-drafts] [css-variables] point to URL

From: Dusan Gligoric via GitHub <sysbot+gh@w3.org>
Date: Wed, 31 Aug 2016 16:54:46 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-174324692-1472662484-sysbot+gh@w3.org>
76creates has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-variables] point to URL ==
When referring to the URL variable is not recognized.
Neither bellow wont work.

CSS
```
:root {
        --pic1: url("../img/test/i-06.jpg");
        --pic2: "../img/test/i-07.jpg";
}

#a1 { background-image: var(--pic1); }
#a2 { background-image: url(var(--pic2)); }

```

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/435 using your GitHub 
account
Received on Wednesday, 31 August 2016 16:54:52 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:22 UTC