Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
TabAtkins
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
TabAtkins
14y ago
We already have this: http://www.whatwg.org/specs/web-apps/current-work/multipage/...
32.
▲
by
TabAtkins
14y ago
As bkardell said, math is in CSS now with calc() http://dev.w3.org/csswg/css3-values/#calc-notation Color manipulation will be in Colors level 4, whenever I get the time to work on it (probably early next year).
33.
▲
by
TabAtkins
14y ago
Many of the most exciting upcoming features in CSS don't gracefully degrade well. Variables are one, yes, but the same is true of Flexbox or Grid Layout, Regions, and others. One thing that will help (once it's supported, heh) is the @supp
34.
▲
by
TabAtkins
14y ago
Syntax isn't frozen. Here's another possibility: :root { $header-color: #06c; } h1 { background-color: $header-color; } (Note that the spec's use of the :root pseudo is just to generically declare "global" variables that should apply to th
35.
▲
by
TabAtkins
14y ago
You can't write a server-side implementation of canvas or AJAX either. ^_^ It is possible to create a polyfill for CSS variables if you use JS as well. You can do a mostly-working one relatively easily that covers the simple, static case