frontend
Episode 2 — 5th September 2016
Current Color — The First CSS Variable
The currentColor keyword is a wildly powerful yet sadly underused feature of CSS. And understanding it requires a deep look at some of the core concepts in CSS that are often glossed over. We'll look at concepts that were present in the very first draft of CSS1 in 1996 all the way to the almost-ready-to-use CSS Variables spec.
And with our new-found dynamism we'll show how to go past the superficial limitations of currentColor to build some contextually-themed real-world UI elements.