Show newer

It's the last week of the color harmonies !
Let's wrap it up with a monochromatic palette 🎨
Thanks @wethetweet for sponsoring (they're hiring!)
codepen.io/challenges/2021/mar

:sys_twitter: twitter.com/CodePen/status/137

RT Adam Argyle
LET CSS PICK AN ACCESSIBLE COLOR!
`color-contrast()` will automatically pick a color that passes contrast ratios, just give it a list to choose from. aka: throw colors at it!
```
body {
background: var(--blue2);
color: var(--onblue2);
}
```
Adam Argyle: Red won!
```
color-contrast(black vs blue, red, green)
```
This function returns the color which contrasts the most with the 1st color.
⚠️ LET CSS ENSURE YOU PASS CONTRAST SCORES ⚠️

:sys_twitter: twitter.com/argyleink/status/1

RT Ryan Mulligan
For this week's Color Harmonies , I built this web version of a favorite childhood game on @CodePen. Half the fun was creating custom pad sounds. Who knew finding the right boops would be such a daunting task!
What level can you reach?
codepen.io/hexagoncircle/full/

:sys_twitter: twitter.com/hexagoncircle/stat

Might be cool to link up one Pen as a resource on all these with a bunch of --custom-props in it for colors so they could all be changed again by updating one Pen!
Johan Karlsson: ✨I took a bunch of my old Pens and changed to a Teal and Orange color theme. This is my new @CodePen profile:

codepen.io/DonKarlssonSan

:sys_twitter: twitter.com/CodePen/status/137

Web Components are cool, but what if you want 1) reactive state and lifecycle events 2) efficient re-rendering 3) templating niceness
HEY NICE one @youyuxi:
Demo:
github.com/yyx990803/vue-lit
codepen.io/chriscoyier/pen/ExN

:sys_twitter: twitter.com/CodePen/status/137

RT Adam Argyle
🆕 mix colors in CSS in Firefox Nightly today!
```
background: color-mix();
```
draft spec Firefox is prototyping with
🕹 play with a **working** light/dark theme in this Codepen 💯
drafts.csswg.org/css-color-5/#
codepen.io/argyleink/pen/WNoWa

:sys_twitter: twitter.com/argyleink/status/1

RT Stephan Nijman
Small tip: Instead of using pixels or rems you can also use css viewport units (vw, vh, vmin, vmax) to make your websites more responsive.
👇Check out the CodePen below.

:sys_twitter: twitter.com/Vanaf1979/status/1

RT Ana Tudor 🐯
See me code a pure CSS infinity roll loader with Houdini magic 🎩🐇✨ in under 30 min (half of it is prettifying)
Live on @CodePen
Can you figure out how I did it before checking?
patreon.com/posts/video-pure-c
codepen.io/thebabydino/pen/LYb

:sys_twitter: twitter.com/anatudor/status/13

RT Jhey 🐻🛠
"yarn add kitty 🧶😹"
Enjoying creating the newer SVG animations with Figma 👍
⚒️ @greensock && @figmadesign
👉
codepen.io/jh3y/pen/VwmRZGL

:sys_twitter: twitter.com/jh3yy/status/13708

Show older
小森林

每个人都有属于自己的一片森林,也许我们从来不曾走过,但它一直在那里,总会在那里。迷失的人迷失了,相逢的人会再相逢。愿这里,成为属于你的小森林。