CSS Grid with a preferred column count
Set up a CSS grid with a specific ideal number of columns.
Set up a CSS grid with a specific ideal number of columns.
Pre-compile some reused assets to avoid repeating the same operation.
Using renderFile to keep things tidy
I'm not on the TypeScript train, but I like a couple of things…
Clean up overlap animations on hovered elements
Using chained CSS transforms to get a rotation without rotating the element itself.
Using a CSS custom property trick to define themes variables only once.
Only show a separator when two items are next to each other, and skip for new lines.
Use a collection of utilities to form components without additional CSS.
Get a more consistent sizing with viewport-based font sizing
Make a contained element span the entire horizontal space.
Use the cascade to colour links in their context.
Running a simple blog doesn't require a large CMS.