2 ms·
Wow CSS is becoming more and more like a programming language. Good job on Firefox for pushing the boundary. One thing though. The calculations don't seem very
by xux 13y ago
Wow CSS is becoming more and more like a programming language. Good job on Firefox for pushing the boundary.
One thing though. The calculations don't seem very semantic. To calculate something as simple as height/width, you need a long calc(var(height)/var(width));
Maybe w3 can implement CSS variables with special characters like in PHP.
- icebraining 13y agoUsing $ to identify variables was proposed in the CSS working group. It was ruled against in order to keep that syntax free for future developments (e.g.g SASS-like macros). http://www.xanthir.com/blog/b4KT0 http://www.xanthir.com/blog/b4KT0