Show newer

Here ya go: everything @TerribleMia knows about CSS Cascade Layers in a guide only she could write — from syntax and establishing layer order to debugging and playing friendly with third-party frameworks!
css-tricks.com/css-cascade-lay

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

Show older
小森林

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