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

Re: [csswg-drafts] css new standard idea

From: astearns via GitHub <sysbot+gh@w3.org>
Date: Thu, 24 Nov 2016 18:33:22 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-262829813-1480012401-sysbot+gh@w3.org>
See Custom Properties: https://drafts.csswg.org/css-variables-1/

Your sample can be expressed as:

<style> :root{ --data: 100px; } #Topic{ width: var(--data); } #Topic2{
 width: calc(var(--data) + 100px) } </style> 

-- 
GitHub Notification of comment by astearns
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/759#issuecomment-262829813 
using your GitHub account
Received on Thursday, 24 November 2016 18:33:29 UTC

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