- From: Xidorn Quan <quanxunzhen@gmail.com>
- Date: Tue, 1 Mar 2016 22:49:34 +0800
- To: Felipe Nascimento de Moura <felipenmoura@gmail.com>
- Cc: www-style <www-style@w3.org>
On Tue, Mar 1, 2016 at 10:45 PM, Felipe Nascimento de Moura <felipenmoura@gmail.com> wrote: > that totally makes sense! Thanks. By the way... By the way, please do not top-posting in www-style mailing list. > it is impossible to use it in `content`, like so > > ```css > :root{ > --size: 10px; > } > > .label::after { > content: var(--size); > /* ... */ > } > ``` > > Maybe that could be something useful too. This is just because you use the wrong type here. This rule would just be expanded to "content: 10px;", does it make any sense? If the variable is a string, it should certainly work. - Xidorn
Received on Tuesday, 1 March 2016 14:50:42 UTC