CSS-Tricks*
@css-tricks.bsky.social
4.3K followers 210 following 210 posts
* A website about making websites. https://css-tricks.com
Posts Media Videos Starter Packs
Pinned
css-tricks.bsky.social
Thought a starter pack of CSS-Tricks authors would be a fun way to find folks.

go.bsky.app/SNVx5Wc
css-tricks.bsky.social
White and black are two very safe colors to create contrast with another color value.

But when those are the only two values supported by color-contrast(), the contrast between a solid white/black and any other color may not be the best contrast ratio overall.

css-tricks.com/the-thing-ab...
css-tricks.com
css-tricks.bsky.social
So. Danged. Good.

Pairs well with this ginormous guide on color functions by @sunkanmifafowora.bsky.social.

css-tricks.com/css-color-fu...
css-tricks.bsky.social
Heck yeah! How have you been organizing your layers? Do you include one for reset styles?
css-tricks.bsky.social
All thanks to none other than @miriam.codes!
ashn.uk
If you want to fully dive down the rabbit-hole with CSS Layers, @css-tricks.bsky.social has (as ever) the go-to explainer css-tricks.com/css-cascade-...
css-tricks.bsky.social
Interesting to think about what other types of ::picker we'll be able to style beyond