Show newer

757KB for 54 icons? Yikes. Here's @AdamRackis showing how to subset Font Awesome files to trim out what you don't need.
css-tricks.com/subsetting-font

Hey, nifty little utility from @jekuer to get one of those Add-to-Calendar buttons.
css-tricks.com/add-to-calendar

Here's a nice take on an auto-filling CSS grid from @mikeherchel. It never exceeds a maximum number of columns that never go below a minimum width.
css-tricks.com/an-auto-filling

Some considerations to keep in mind when building a Chrome extension using Next.js by @ThomasWang.
css-tricks.com/nextjs-chrome-e

Here's an interesting tactic from @daveseidman: straightening the text in a slanted container by reversing the direction of the glyphs in the actual font file.
css-tricks.com/css-slanted-con

RT Adam Argyle
color is about to be incredible!!!
✅ relative color syntax for deriving palettes from any color
✅ LCH for perceptually equal lightness across palettes
✅ every hue can be a palette
Here's me prototyping Open Props vNext Color (Safari TP only) 👇🏻
codepen.io/argyleink/full/VwrK

Nice!
T. Afif @ CSS Challenges: I made @css with CSS 😊
The logo of CSS-Tricks with one element. 👇
It was tricky with only gradients so I used clip-path as well.
Demo:

codepen.io/t_afif/full/zYPNrOe

This one from @5t3ph is a clever take on presentation slides, pulling together scroll snap, live coding, and... styling the element.
css-tricks.com/css-scroll-snap

RT Adam Argyle
Safari Tech Preview has experimental CSS gradient colorspaces and I had tons of fun playing around last night with it!
```
background: linear-gradient(
to right in var(--colorspace),
black, white
);
```
basic black to white can be so different!
codepen.io/argyleink/pen/OJObW

Block themes? Full-site editing? WordPress 5.9 was a huuuuge release and Ganesh Dahal did a bang-up job explaining what it means for WordPress developers moving forward.
css-tricks.com/a-deep-introduc

Show older
小森林

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