Caching Data in SvelteKit

November 28, 2023 0 Comments 0 tags

My previous post was a broad overview of SvelteKit where we saw what a great tool it is for web development. This post will fork off what we did there

A Fancy Hover Effect For Your Avatar

November 28, 2023 0 Comments 0 tags

Do you know that kind of effect where someone’s head is poking through a circle or hole? The famous Porky Pig animation where he waves goodbye while popping out of

Different Ways to Get CSS Gradient Shadows

November 28, 2023 0 Comments 0 tags

It’s a question I hear asked quite often: Is it possible to create shadows from gradients instead of solid colors? There is no specific CSS property that does this (believe

The truth about CSS selector performance

November 28, 2023 0 Comments 0 tags

Geez, leave it to Patrick Brosset to talk CSS performance in the most approachable and practical way possible. Not that CSS is always what’s gunking up the speed, or even

Everything You Need to Know About the Gap After the List Marker

November 28, 2023 0 Comments 0 tags

I was reading “Creative List Styling” on Google’s web.dev blog and noticed something odd in one of the code examples in the ::marker section of the article. The built-in list

Managing Fonts in WordPress Block Themes

November 28, 2023 0 Comments 0 tags

Fonts are a defining characteristic of the design of any site. That includes WordPress themes, where it’s common for theme developers to integrate a service like Google Fonts into the

Creating a Clock with the New CSS sin() and cos() Trigonometry Functions

November 28, 2023 0 Comments 0 tags

CSS trigonometry functions are here! Well, they are if you’re using the latest versions of Firefox and Safari, that is. Having this sort of mathematical power in CSS opens up

Making Calendars With Accessibility and Internationalization in Mind

November 28, 2023 0 Comments 0 tags

Doing a quick search here on CSS-Tricks shows just how many different ways there are to approach calendars. Some show how CSS Grid can create the layout efficiently. Some attempt

5 Mistakes I Made When Starting My First React Project

November 28, 2023 0 Comments 0 tags

You know what it’s like to pick up a new language or framework. Sometimes there’s great documentation to help you find your way through it. But even the best documentation

Passkeys: What the Heck and Why?

November 28, 2023 0 Comments 0 tags

These things called passkeys sure are making the rounds these days. They were a main attraction at W3C TPAC 2022, gained support in Safari 16, are finding their way into macOS and iOS, and are