Search
Why (and How) I Write Code With Pencil and Paper
17.8.2022
If the thought of handwriting code seems silly, it might surprise you to know that it’s inevitable. If you’re unsure, think about the last job interview you did, and remember how there was no computer around in the interview room …
Why (and How) I Write Code With Pencil and Paper...
CSS Grid and Custom Shapes, Part 1
15.8.2022
In a previous article, I looked at CSS Grid’s ability to create complex layouts using its auto-placement powers. I took that one step further in another article that added a zooming hover effect to images in a grid layout…
CSS Grid and Custom Shapes, Part 1 originally published...
Quick Tip: Clear VS Code Cache for Open Files
11.8.2022
If you use VS Code, you might have enabled the setting for re-opening a previously open file next time the app launches. I do. I like that.
Hey, thanks for remembering, buddy! 🤗
But sometimes you really, really don’t want …
Quick Tip: Clear VS Code Cache for Open Files...
Designing for Long-Form Articles
10.8.2022
Designing a beautiful “article” is wrought with tons of considerations. Unlike, say, a homepage, a long-form article is less about designing an interface than it is designing text in a way that creates a relaxed and comfortable reading experience.
That’s …
Designing for Long-Form Articles...
Committing CSS Crimes
9.8.2022
The time for CSS-Tricks is over. Now is the time for CSS Crimes!
In this current landscape of content service providers, users are often limited to expressing themselves in text, links, and images. Sanitization rules tend to strip out HTML, …
Committing CSS Crimes originally published...
15 Things I Wish I Knew Before Starting Xenoblade Chronicles 3
8.8.2022
Xenoblade Chronicles 3 has been five years in the making and it shows. Monolith Soft’s latest open-field JRPG odyssey has more systems and more to do than either previous game in the trilogy (not to mention the often overlooked Xenoblade Chronicles X). I’m enjoying it a ton so far. I’m also...
Zooming Images in a Grid Layout
8.8.2022
Creating a grid of images is easy, thanks to CSS Grid. But making the grid do fancy things after the images have been placed can be tricky to pull off.
Say you want to add some fancy hover effect to …
Zooming Images in a Grid Layout originally published on CSS-Tricks, which is part of...
How I Added Scroll Snapping To My Twitter Timeline
5.8.2022
CSS Scroll Snap allows websites to snap the web page or any other scroll container to a specific scroll position when the user performs a scrolling operation. This feature has been supported in all modern browsers for over two years, …
How I Added Scroll Snapping To My Twitter Timeline...
Actually, the San Francisco Typeface Does Ship as a Variable Font
4.8.2022
Apple unveiled an expanded version of its San Francisco system font at WWDC 2022. Then, last month, Jim Nielsen zeroed in on the font’s variations, explaining how the font provides a spectrum of variations based on the width and weight…
Actually, the San Francisco Typeface Does Ship...
Converting Speech to PDF with NextJS and ExpressJS
4.8.2022
With speech interfaces becoming more of a thing, it’s worth exploring some of the things we can do with speech interactions. Like, what if we could say something and have that transcribed and pumped out as a downloadable PDF?
Well, …
Converting Speech to PDF with NextJS and ExpressJS...
Diablo Devs Say Activision Back To Its Old ‘Union-Busting’ Tricks
4.8.2022
Nearly two months after Activision Blizzard CEO Bobby Kotick announced the company would finally begin bargaining its first union contract with the Game Workers Alliance at Raven Software, staff at Blizzard Albany, currently working on Diablo IV, say the publisher is back to trying to union-bust....
Implicit Grids, Repeatable Layout Patterns, and Danglers
2.8.2022
Dave Rupert with some modern CSS magic that tackles one of those classic conundrums: what happens when the CSS for component is unable to handle the content we throw at it?
The specific situation is when a layout grid expects …
Implicit Grids, Repeatable Layout Patterns, and Danglers...
Exploring CSS Grid’s Implicit Grid and Auto-Placement Powers
1.8.2022
When working with CSS Grid, the first thing to do is to set display: grid on the element that we want to be become a grid container. Then we explicitly define the grid using a combination of grid-template-columns, grid-template-rows…
Exploring CSS Grid’s Implicit Grid and Auto-Placement...
Scroll Shadows? Pure CSS Parallax? Game Back On.
29.7.2022
Chris calls scroll shadows one his favorite CSS-Tricks of all time. Lea Verou popularized the pure CSS approach using four layered background gradients with some clever background-attachment magic. The result is a slick scrolling interaction that gives users a hint …
Scroll Shadows? Pure...
Recreating MDN’s Truncated Text Effect
28.7.2022
It’s no secret that MDN rolled out a new design back in March. It’s gorgeous! And there are some sweet CSS-y gems in it that are fun to look at. One of those gems is how card components handle truncated …
Recreating MDN’s Truncated Text Effect originally published...
Why I Chose Angular to Build a URL Shortener
22.7.2022
URL Shorteners are tools we use to make links shorter than they actually are. With a URL Shortener, you can transform a long link (maybe for a registration form or article) into a shorter version.
Behind the scenes, the long …
Why I Chose Angular to Build a URL Shortener originally published...
Roundup of Recent Document Outline Chatter
21.7.2022
It’s not everyday that HTML headings are the topic de jour, but my folder of saved links is accumulating articles about the recently merged removal of the document outline algorithm in the WHATWG Living Standard.
First off, you should know …
Roundup of Recent Document Outline Chatter...
12 Things I Wish I Knew Before Starting Stray
20.7.2022
Stray is as solid proof as any that being a cat isn’t as easy as it looks. The third-person (third-feline?) adventure game, out now for PlayStation and PC, doesn’t offer the same type of challenge you’d find in, say, this year’s Elden Ring or Cuphead: The Delicious Last Course, but there...
Logical Properties for Useful Shorthands
20.7.2022
Michelle Barker with my favorite sorta blog post: short, practical, and leaves you with a valuable nugget for your time. Here, she gets into logical property shorthands in CSS, particularly those that set lengths just on a single axis, …
Logical Properties for Useful Shorthands originally...
15 Things I Wish I Knew Before Playing PowerWash Simulator
19.7.2022
PowerWash Simulator recently left Early Access on Steam and came to Xbox via Game Pass. Looking at the recent numbers and charts, it seems more people than ever before are entering the satisfying world of digital power-washing. But while it might be fun and oh-so-satisfying to clean dirt using...