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

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

From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
Date: Thu, 10 Nov 2016 21:07:23 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-259807700-1478812041-sysbot+gh@w3.org>
FYI: [WICG discussion of 
this.](https://discourse.wicg.io/t/css-variables-and-before-after-content/1750/10)

FYI 2: If the value of the CSS variable is a plain integer, you can 
currently hack the conversion to string with CSS counters.  Sorry, I 
couldn't find the original demo I saw of it, but [here's my version on
 CodePen]( http://codepen.io/AmeliaBR/pen/xRZdZx/?editors=1100)  
Again, it's about being able to visually represent a value and also 
display it as text.

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/703#issuecomment-259807700 
using your GitHub account
Received on Thursday, 10 November 2016 21:07:29 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:05 UTC