Variables

Speaker:

Gregor Adams

Edition:

CSS Day 2017 + Browser API Special

Date:

2017-06-16

Venue:

Compagnietheater

The concept of CSS variables has been around for a while but just recently most modern browsers actually started to support them. I always knew that something amazing would happen and that this feature would allow things beyond our imagination. While the use case for variables might be very obvious the features are often underestimated. Variables in CSS allow behavior that was preivously not possible. Looking at every detail and reading the specs carefully can deliver some interesting facts. I found awesome but also scary possibilities and created examples for any use case I could think of. It turns out that CSS variables are a real "Game changer" with one mind blowing feature after the other. You want to interact between CSS and JS, you're looking for a layout framework, or simply want to reduce your code base? CSS variables cover all these cases and a lot more.

Presentation Video