Lemmy Today
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RSS Bot@lemmy.bestiver.seMB to Hacker News@lemmy.bestiver.seEnglish · 7 days ago

How to have the browser pick a contrasting color in CSS

webkit.org

external-link
message-square
0
link
fedilink
  • cross-posted to:
  • color@lemmy.ml
  • color@lemmy.cafe
5
external-link

How to have the browser pick a contrasting color in CSS

webkit.org

RSS Bot@lemmy.bestiver.seMB to Hacker News@lemmy.bestiver.seEnglish · 7 days ago
message-square
0
link
fedilink
  • cross-posted to:
  • color@lemmy.ml
  • color@lemmy.cafe
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?

Comments

alert-triangle
You must log in or register to comment.

Hacker News@lemmy.bestiver.se

hackernews@lemmy.bestiver.se

Subscribe from Remote Instance

You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !hackernews@lemmy.bestiver.se
lock
Community locked: only moderators can create posts. You can still comment on posts.

Posts from the RSS Feed of HackerNews.

The feed sometimes contains ads and posts that have been removed by the mod team at HN.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 199 users / day
  • 1.18K users / week
  • 3.29K users / month
  • 3.95K users / 6 months
  • 3 local subscribers
  • 1.4K subscribers
  • 5.27K Posts
  • 1.63K Comments
  • Modlog
  • mods:
  • patrick@lemmy.bestiver.se
  • RSS Bot@lemmy.bestiver.se
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org