Search
When to Avoid the text-decoration Shorthand Property
25.2.2022
In my recent article about CSS underline bugs in Chrome, I discussed text-decoration-thickness and text-underline-offset, two relatively new and widely-supported CSS properties that give us more control over the styling of underlines.
Let me demonstrate the usefulness of …
When to Avoid...
Manuel Matuzovic’s CSS Specificity Demo
25.2.2022
If you’re looking for a primer on CSS specificity, we’ve got that. And if you’re trying to get ahead of the game, you should be aware of CSS Cascade Layers as well.
One of the ways to help get …
Manuel Matuzovic’s CSS Specificity Demo originally published...
My white whale: A use case for will-change
24.2.2022
 Nic Chan:
[…] the will-change property landed in major browsers in August 2015, and I’ve been on the lookout for when to use it ever since. It might seem self-evident to apply it to commonly animated properties such
…
My white whale: A use case for will-change...
Explain the First 10 Lines of Twitter’s Source Code to Me
24.2.2022
For the past few weeks, I’ve been hiring for a senior full-stack JavaScript engineer at my rental furniture company, Pabio. Since we’re a remote team, we conduct our interviews on Zoom, and I’ve observed that some developers are not …
Explain the First 10 Lines of Twitter’s Source Code...
Superior Image Optimization: An Ideal Solution Using Gatsby & ImageEngine
24.2.2022
(This is a sponsored post.)
In recent years, the Jamstack methodology for building websites has become increasingly popular. Performance, scalable, and secure, it’s easy to see why it’s becoming an attractive way to build websites for developers.
GatsbyJS is …
Superior Image Optimization:...
CSS Database Queries? Sure We Can!
23.2.2022
Kinda silly sounding, isn’t it? CSS database queries. But, hey, CSS is capable of talking to other languages in the sense that it can set the values of things that they can read. Plus, CSS can request other files, and …
CSS Database Queries? Sure We Can! originally published...
5 Accessibility Quick Wins You Can Implement Today
23.2.2022
Let’s face it: building an AA or AAA-accessible product can be quite daunting. Luckily, having an accessible product isn’t all-or-nothing. Even seemingly small improvements can have nice quality of life benefits for many people.
In that spirit, here are five …
5 Accessibility Quick Wins...
Before I go: When it comes to complaining about web browsers
22.2.2022
That’s a damn one-two punch from Dave. He goes for the ultimate clickbait title¹, then follows up with a pile of epic advice for us all. If you want web browsers to get better, listen up:
Complaining on
…
Before I go: When it comes to complaining about web browsers originally...
Reliably Send an HTTP Request as a User Leaves a Page
22.2.2022
On several occasions, I’ve needed to send off an HTTP request with some data to log when a user does something like navigate to a different page or submit a form. Consider this contrived example of sending some information to …
Reliably Send an HTTP Request as a User Leaves a Page originally...
A Complete Guide to CSS Cascade Layers
21.2.2022
This is your complete guide to CSS cascade layers, a CSS feature that allows us to define explicit contained layers of specificity, so that we have full control over which styles take priority in a project without relying on specificity …
A Complete Guide to CSS Cascade Layers originally...
Comparing Node JavaScript to JavaScript in the Browser
18.2.2022
Being able to understand Node continues to be an important skill if you’re a front-end developer. Deno has arrived as another way to run JavaScript outside the browser, but the huge ecosystem of tools and software built with Node mean …
Comparing Node JavaScript to JavaScript in the Browser...
(Jay Freestone’s) Front-End Predictions for 2022
18.2.2022
I linked to Jay’s front-end predictions last year and I think they panned out pretty well. I think he’s got a bit of a knack for that wide-scope look at front-end, including tooling and architecture, as well as browser tech. …
(Jay Freestone’s) Front-End Predictions for 2022...
Subsetting Font Awesome to Improve Performance
17.2.2022
Font Awesome is an incredibly popular icon library. Unfortunately, it’s somewhat easy to use in a way that results in less-than-ideal performance. By subsetting Font Awesome, we can remove any unused glyphs from the font files it provides. This will …
Subsetting Font Awesome to Improve...
Top Things You Didn’t Know You Could Do With Netlify CLI
17.2.2022
(This is a sponsored post.)
First things first, if you didn’t know Netlify had a CLI, they do.  One of my favorite things about it running the command netlify dev on nearly any static-site generator project is seeing it …
Top Things You Didn’t Know You Could Do With Netlify...
Add-to-Calendar Button UI Widget
17.2.2022
A useful little UI widget thingy here from Jens Kuerschner. Click the add-to-calendar button, get a list of calendar apps, the user selects which one they actually use, and they get what they need for that calendar. Could be a …
Add-to-Calendar Button UI Widget originally published...
An Auto-Filling CSS Grid With Max Columns of a Minimum Size
16.2.2022
Within Drupal 10 core, we’re implementing a new auto-filling CSS Grid technique that I think is cool enough to share with the world.
The requirements are:
The user specifies a maximum number of columns. This is the auto-filling grid’s “natural”
…
An Auto-Filling CSS Grid With Max Columns...
GSAP Flip Plugin for Animation
15.2.2022
Greensock made the GSAP Flip plugin free in the 3.9 release. FLIP is an animation concept that helps make super performance state-change animations. Ryan Mulligan has a good blog post:
FLIP, coined by Paul Lewis, is an
…
GSAP Flip Plugin for Animation originally published...
6 Creative Ideas for CSS Link Hover Effects
15.2.2022
Creating CSS link hover effects can add a bit of flair to an otherwise bland webpage. If you’ve ever found yourself stumped trying to make a slick hover effect, then I have six CSS effects for you to take and …
6 Creative Ideas for CSS Link Hover Effects originally published on CSS-Tricks....
WordPress.com Has a New Home on YouTube
15.2.2022
(This is a sponsored post.)
✋ High fives to WordPress for releasing version 5.9 on January 29! This was the long-awaited introduction of the Site Editor and the reverberations are still being felt across the 43% slice of the …
WordPress.com Has a New Home on YouTube originally...
Why are hyperlinks blue?
14.2.2022
Last year, Elise Blanchard did some great historical research and discovered that blue hyperlinks replaced black hyperlinks in 1993. They’ve been blue for so long now that the general advice I always hear is to keep them that way. There …
Why are hyperlinks blue? originally published...