Template Literals are Strictly Better Strings

Nicolás Bevacqua wrote this a year ago, and I’d say with a year behind us he’s even more right. Template literals are always better. You don’t have to screw around with concatenation. You don’t have to screw around with escapingRead More

Turning Text into a Tweetstorm

With tongue firmly in cheek, I created this script to take a chunk of text and break it up into a tweetstorm, for “readability”. Sort of like the opposite of something like Mercury Reader. If the irony is lost onRead More

CSS Grid PlayGround

Really great work by the Mozilla gang. Curious, as they already have MDN for CSS Grid, which isn’t only a straight reference, they have plenty of “guides”. Not that I’m complaining, the design and learning flow of this are fantastic.Read More

iOS 11 Safari Feature Flags

I was rooting around in the settings for iOS Safari the other day and stumbled upon its “Experimental Features” which act just like feature flags in any other desktop browser. This is a new feature in iOS 11 and youRead More

​HelloSign API: The dev friendly esign

(This is a sponsored post.)We know that no API can write your code for you (unfortunately), but ours comes close. With in-depth documentation, customizable features, and dashboard that makes your code easy to debug, you won’t find an eSignature productRead More

Foxhound

As of WordPress 4.7 (December 2016), WordPress has shipped with a JSON API built right in. Wanna see? Hit up this URL right here on CSS-Tricks. There is loads of docs for it. That JSON API can be used forRead More

What I Talk About When I Talk About Sorting: Untangling Array#sort

Sorting things is a fundamental part of our daily lives—it’s something we do everyday, following all kinds of criteria to make our lives easier. Whether you’re looking for a person’s phone number, the location of your favorite book, or evenRead More

How Different CMS’s Handle Content Blocks

Imagine a very simple blog. Blog posts are just a title and a paragraph or three. In that case, having a CMS where you enter the title and those paragraphs and hit publish is perfect. Perhaps some metadata like theRead More

4 Great Design to WordPress Services You Need to Try

Advertise here via BSA You’ve worked hard to transform your design concept into a finished design for an app or website. Yet, there is an obstacle between handing over the final design and product launch. It’s called “development”; a taskRead More

Lozad.js: Performant Lazy Loading of Images

There are a few different “traditional” ways of lazy loading of images. They all require JavaScript needing to figure out if an image is currently visible within the browser’s viewport or not. Traditional approaches might be: Listening to scroll andRead More