Imageprogramming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Imagecodeinabox to ImageCSSEnglish · 1 month ago

Algorithmic hover states with contrast-color()

daverupert.com

external-link
message-square
0
link
fedilink
5
external-link

Algorithmic hover states with contrast-color()

daverupert.com

Imagecodeinabox to ImageCSSEnglish · 1 month ago
message-square
0
link
fedilink
Firefox 146 added support for contrast-color() joining Safari 26 in the First Implementor’s Club. For those unfamiliar, contrast-color() is a new CSS function that will take a as input and returns either white or black depending on which has the most contrast.
alert-triangle
You must log in or # to comment.

ImageImage
CSS

css

Subscribe from Remote Instance

Create a post
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: [email protected]
Visibility: Public
globe

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

  • 1 user / day
  • 19 users / week
  • 56 users / month
  • 181 users / 6 months
  • 231 local subscribers
  • 709 subscribers
  • 167 Posts
  • 119 Comments
  • Modlog
  • mods:
  • ImageAtegon
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org
Advertisement