#contrast-color

[ follow ]
UX design
fromWebKit
2 months ago

How to have the browser pick a contrasting color in CSS

The contrast-color() function in CSS automatically selects the best text color (black or white) based on background color contrast.
[ Load more ]