Did you know, if you use CSS math functions like
clamp() and you’re calculating any one of the arguments, you don’t need
calc()? I think it was Ahmad Shadeed who mentioned this on Twitter the other day, but I could be wrong.
Here’s a tiny CSS tip for making staggered animations feel waaaay more natural: Negative animation delay. I’ve seen this idea shared by master CSS animators Jhey and Amit on separate occasions, and it’s such a neat little trick that it’s worth recording here!
I often use the WebAIM colour contrast checker to check my colours against WCAG (Web Content Accessibility Guidelines) standards while building websites. Recently I noticed a handy feature in Firefox dev tools to make checking for sufficient colour contrast really easy.