3 ms·
From the article: > CSS has its own set of fascinating peculiarities when it comes to handling invalid colour values. Most modern browsers will clamp values ra
by debo_ 2y ago
From the article:
> CSS has its own set of fascinating peculiarities when it comes to handling invalid colour values. Most modern browsers will clamp values rather than reject them outright -– throw rgb(300, -50, 1000) at a browser and it won't fail; it'll helpfully transform it into rgb(255, 0, 255).