CSS Color-Mix() - Contextual Button Demo

Using the CSS color-mix() function, we're able to dynamically handle color changes when the button is hovered and active. This feature is currently (15.4.2022) only available behind flags in Firefox and Safari Technology Preview .

🚀 Bonus: Click the buttons to see the color mixed :active state.

The color-mix() feature is not supported in your browser.