Re: [csswg-drafts] css new standard idea

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