πŸš€ "Revolutionary" CSS trick: let the browser do ALL the work while you sip coffee and pretend you're still relevant. Just make sure to read the dozen policies, post guidelines, and maybe catch a safari preview or two. πŸ™„ #WebDevGenius
https://webkit.org/blog/16929/contrast-color/ #WebDevGenius #CSSTricks #BrowserAutomation #CoffeeBreak #WebDevelopment #HackerNews #ngated
How to have the browser pick a contrasting color in CSS

Have you ever wished you could write simple CSS to declare a color, and then have the browser figure out whether black or white should be paired with that color?

WebKit