- From: Bang Seongbeom <bangseongbeom@hotmail.com>
- Date: Fri, 22 May 2015 00:05:39 +0900
- To: www-style@w3.org
Is there some reason that var() can not be used for non-custom properties?
Except shorthand, it would be a good idea.
We're already using a similar mechanism such as var() for non-custom 
property; currentcolor. Here is an example using var() instead of 
currentcolor:
..parent {
      color: green;
}
..child {
      /* background-color: currentcolor; */
      background-color: var(color);
}
Received on Thursday, 21 May 2015 15:10:47 UTC