What If()? Using Conditional CSS Variables

A cool new feature is coming to CSS: if(). With this, you can set a style or a CSS variable based on some condition, like whether the device is on a touchscreen, or whether some CSS property is supported, or even based on an attribute on an element. It s really cool, and sooner or later [ ]