Currying in CSS?

Trys Mudford / filed under HTML & CSS

There were lots of interesting discoveries found whilst developing Utopia. This one came when declaring CSS custom properties. Taking a card as an example, one would often start off with some CSS like this:

Subscribe to newsletter

Design and frontend links delivered to your inbox every day and week. No spam, unsubscribe at anytime.

Choose frequency