Show newer

bored of your easing?
try a new one!
Here's 18 pop choices 🤓
example:
--ease-out-expo: cubic-bezier(.19, 1, .22, 1);
gist
play/fork
gist.github.com/argyleink/36e1
codepen.io/argyleink/pen/BajvP

Quick CSS tip: did you know that you can use "empty" values to conditionally apply styles with CSS variables?
--some-var: /**/;
var(--some-var, value);
I call it the prop-and-lock technique, since it works like canal locks ⛴️🔒
codepen.io/davidkpiano/pen/WNr

Wish you could study how websites use CSS?
This is what we do for the CSS chapter of the Web Almanac, for which I'm the content lead this year.
Post your proposals as Github issues and vote on others, here:
or directly in the repo:
leaverou.github.io/mavoice/?re
github.com/LeaVerou/css-almana

Show older
小森林

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