CSS Relative Colors
March 12, 2025
Over the years, we have been used to using CSS pre-processors like Sass for a use case like applying opacity to a pre-defined color. Today, we have a new way to do that and more with CSS relative colors. In this article, I aim to shed the light on that and introduce how it works along with many practical examples.
Source: CSS Relative Colors
Ahmad Shadeed is one of the very best communicators and educators on CSS, web design and development.
Here he covers CSS relative colours, a powerful and valuable addition to CSS, now baseline.