Archive for the ‘css variables’ Category

Simplifying CSS Cubes with Custom Properties

I know there are a ton of pure CSS cube tutorials out there. I've done a few myself. But for mid-2017, when CSS Custom Properties are supported in all major desktop browsers, they all feel... outdated and very WET. I thought I should do something to fi...

Autoprefixing with CSS Variables

Posted on: No Comments
I'd call this a bonafide CSS trick, courtesy Lea Verou. Don't miss the comments, in which Sérgio Gomes reminds us this might make it easier to change values in JavaScript, because you could skip worrying about prefixes there. Changing CSS variables in...