[csswg-drafts] [css-content] Should content property work with non-string variables?

dauwhe has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-content] Should content property work with non-string 
variables? ==
On [Twitter](https://twitter.com/wesbos/status/796749692075986944) 
there was a request for CSS variables to be used with the content 
property:

```css
label:before {
content: var(--spacing);
}
```

This works only if the variable is a string. 

Are there good use cases for this? There was some skepticism on the 
Twitter thread. 



Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/703 using your GitHub 
account

Received on Thursday, 10 November 2016 17:35:17 UTC