MICRO BLOG

Micro Blog

How to have the browser pick a contrasting color in CSS

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? Well, now you can, with contrast-color(). Here’s how it works.
https://ift.tt/xZ1F90J

Mehr lesen aus dieser Kategorie

Niederländisches Parlament stimmt für Antifa-Verbot
Standardbild1

Notiz

Niederländisches Parlament stimmt für Antifa-Verbot

Dr. Kissler hat sein Habitat gefunden
Standardbild1

Notiz

Dr. Kissler hat sein Habitat gefunden

☕ Bleibt neugierig, bleibt menschlich.