Skip to main content
Fresh Article

The Flavors of Object-Oriented Programming (in JavaScript)

In my research, I've found there are four approaches to Object-Oriented Programming in JavaScript. Which methods should I use? Which one is "the best" way? Here I'll present my findings along with information that may help you decide which is right for you.
Article

ooooops I guess we’re* full-stack developers now

This is a written version of my talk from Jamstack Conf London 2019.
Video

#195: How to Draw a Line with CSS

Stupid simple, right? It is! But it’s fun to think about for a few minutes and count a bunch of different ways we could do it. And what do I mean by a line anyway? We’ll mostly talk about a 1px solid horizontal line, but we’ll veer off a little bit and talk about other lines. Can’t CSS draw a line from any point to any point? Not really, actually — unless we get pretty fancy with SVG that is.… Read article “#195: How to Draw a Line with CSS”

Almanac

font-kerning

The CSS font-kerning property defines the way specific pairs of letters are spaced.

You see, fonts often contain information about how much breathing room a character has on its left and right edges.

The proper term for the spacing is sidebearings.

When two characters are placed next to each other, their sidebearings add up to form the actual space between characters.

The right sidebearing of A and the left sidebearing of V define the space between them.

Font designers … Read article “font-kerning”

Article

Linearly Scale font-size with CSS clamp() Based on the Viewport

Responsive typography has been tried in the past with a slew of methods such as media queries and CSS calc().

Here, we’re going to explore a different way to linearly scale text between a set of minimum and maximum sizes as the viewport’s width increases, with the intent of making its behavior at different screen sizes more predictable — All in a single line of CSS, thanks to clamp().

The CSS function clamp() is a heavy hitter. It’s … Read article “Linearly Scale font-size with CSS clamp() Based on the Viewport”

Video

#194: Jetpack’s Social Integration

Jetpack can help automate your site’s social media.

It’s a pretty small feature compared to all the huge stuff Jetpack can do, like improve your site’s search, back it up, and protect it. But it’s a feature I love nonetheless.

CSS-Tricks has social media accounts, for example, the Twitter handle @css. We largely use that account to notify folks when new content has been published to the site, and it’s been that way long enough … Read article “#194: Jetpack’s Social Integration”

Article

A Gentle Introduction to Using a Docker Container as a Dev Environment

Sarcasm disclaimer: This article is mostly sarcasm. I do not think that I actually speak for Dylan Thomas and I would never encourage you to foist a light theme on people who don’t want it. No matter how wrong they may be.

When Dylan Thomas penned the words, “Do not go gentle into that good night,” he was talking about death. But if he were alive today, he might be talking about Linux containers. There is no way to … Read article “A Gentle Introduction to Using a Docker Container as a Dev Environment”

Article

The Empty Box

When I was in high school, we learned about “The Black Box” which is concept in theater. If memory serves me right, the approach was a simple and elegant one: that you can take any space, any black box, and make it come to life with a story. I liked the idea that it’s possible to convey anything, tell any story, and create any reality — all in the confines of what equates to a black box, a … Read article “The Empty Box”

Keep browsing in the archives

Monthly Mixup

Article

Programming Sass to Create Accessible Color Combinations

Article

Need to Test API Endpoints? Two Quick Ways to Do It.

Article

HTTPS is Easy!

Snippet

Fancy Ampersand

Monthly Sponsor
Thanks, Fauna