@tabatkins Shouldn't I be able to do something like `@​media (max-width: var(--w)) { /* stuff */ }`? :( codepen.io/thebabydino/pen/D…
1
Replying to @anatudor
@thebabydino @tabatkins What element does --w come from, and which CSS rules are used when deciding its value?

Jun 8, 2014 Β· 12:00 AM UTC

1
Replying to @davidbaron
@davidbaron @tabatkins :root { --w: 500px } .boo { width: var(--w); } /*ok*/ @​media (max-width: var(--w)) { .boo { color: tan; } } /*NO:(*/
2