
Old CSS, new CSS
I love this post that walks through the development of CSS and HTML — it shows just how far web design has come and how much easier it is for us all now.
2,268 articles from CSS-Tricks.

I love this post that walks through the development of CSS and HTML — it shows just how far web design has come and how much easier it is for us all now.

For the last six years, Vue, Angular, and React have run the world of front-end component frameworks. Google and Facebook have their own sponsored frameworks,

If you have a limited-width container, say a centered column of text, "breaking out" of that to make a full-width element involves trickery. Perhaps the best

Mike Solomon worked on a fancy scrollytelling post for Esquire and blogged about it. It has GIFs of each step along the way of figuring out not just position:

Here’s a great in-depth post from Adam Silver about his journey to create an autocomplete field that’s as accessible as possible. There are so many edge cases

Short answer:

Whenever a browser upgrades versions, it's a little marketing event, and rightly so. Looks like for Firefox it's about once a month, Chrome is ~6 weeks, and

I've been guilty of publicly bemoaning the complexity of HTTPS. In the past, I've purchased SSL certificates from third-party vendors and had trouble

Interesting research from Aaron Peters on <img loading="lazy" ... >:

Louis Lazaris, reacting to the idea of CSS4:

Please raise your hand if you’ve ever faced never-ending content revision requests from your clients. It’s not that the changes themselves are difficult, but

What is CSS4? Is it a real thing? I hate to break it to you, but not really. But maybe we could make it a thing? CSS3 was successful, so why not keep that train rolling like they do in JavaScript?

PHP templating often gets a bad rap for facilitating subpar code — but that doesn't have to be the case. Let’s look at how PHP projects can enforce a basic

There's some famous quote that goes something like...

Just this morning, Chris shared a streamlined way to get a static site up and running with Netlify. As it happens, Sarah and I also wrote up a little

"Static Site Generator," that is. We'll get to that in a second.

Every time I start a new project, I organize the code I’m looking at into three types, or categories if you like. And I think these types can be applied to

There's been news about Chrome freezing their User-Agent string (and all other major browsers are on board). That means they'll still have a User-Agent (UA)

Have you ever needed a countdown timer on a project? For something like that, it might be natural to reach for a plugin, but it’s actually a lot more

We just linked up the idea that offset-path can be cleverly used to set type on a path. Don't miss Michelle Barker's experimentation either, with drawing

A new podcast from Sean Fioritto inspired by Joel Califa's term "Full Stack Anxiety".

Short story: Philip Walton has a clever idea for using service workers to cache the top and bottom of HTML files, reducing a lot of network weight.

Every so often, the fruits of innovation bear fruit in the form of improvements to the foundational layers of the web. In 2015, HTTP/2 became a published

If you're interested in leveling up your knowledge and skill of web performance, you can't do better than learning directly from Scott Jehl.

Say you have a two-column layout: a main column with content and a sidebar. Say it has a lot of content, with sections that requires scrolling. The sidebar

If you haven’t worked with immutability in JavaScript before, you might find it easy to confuse it with assigning a variable to a new value, or reassignment.

Catalin Rosu:

A little interview with me over on Uses This. I'll skip the intro since you know who I am, but I'll republish the rest here.

You may know Bitrix24 as the world’s most popular free CRM and sales management system, used by over 6 million businesses. But the free website

It's cool to see progressive enhancement being done even while using the fanciest of the fancy front-end technologies.

Pretty notable when a tweet about a flexbox layouts gets 8K+ likes on Twitter!

Learning how to build GraphQL APIs can be quite challenging. But you can learn how to use GraphQL APIs in 10 minutes! And it so happens I've got the perfect

CSS doesn't have max-font-size, so if we need something that does something along those lines, we have to get tricky.

There actually is a steps() function in CSS, but it's only used for animation. You can't, for example, tell an element it's allowed to grow in height but only

If you are familiar with SVG and CSS animations and started to work with them often, here are some ideas you might want to keep in mind before jumping into

Here's some legit CSS trickery from yuanchuan. There is this CSS property offset-path. Once upon a time, it was called motion-path and then it was renamed. I

I wonder how many startup ideas have something to do with air travel? 🤔

Miriam Suzanne explains in a Mozilla Developer video on the subject.

Eric Meyer does his woodworking math in SVG.

If you draw your own SVG files or if you download them from the internet, tools like this SVG-Editor or SVGOMG are your friends. Compressing the files with

A little open-source utility from Tyler Sticka that returns a data URL of an SVG to use as an image placeholder as needed.

Serverless functions are fairly straightforward. Put a bit of back-end language code, like Node, in the cloud and communicate with it via URL. But what if

The end result of Eric Meyer's tutorial on creating this row of slanted images is pretty classy. But it's more about the journey than the destination (there

Some HTML elements accept width and height as attributes. Some do not. Those attributes are sometimes referred to as presentational attributes. The thing to know about them is that they are overridden by any other styling information whatsoever. That makes them ideal as a fallback.

Performance advice from David Calhoun on how many scripts to load on a page for best performance:

Here's a nice deep dive into min-width / min-height / max-width / max-height from Ahmad Shadeed. I like how Ahmad applies the properties to real-world design

So Microsoft launches a Node-based browser automation project called Playwright. It allows you to spin up a headless version of a browser and control it. Go

There are some new features in CSS that can assist us with building layouts for different directions and languages with ease. This article is about CSS

Jeff Huang, while going through his collection of bookmarks, sadly finds a lot of old pages gone from the internet. Bit rot. It's pretty bad. Most of what

When a component lives in an environment where the data queries populating it live nearby, there is a pretty direct line between the visual component and the

If you're on a small screen, remind yourself to check it out on a big screen when you have the chance.

In the past few years, we’ve seen a lot of change and diversion in regard to web technologies. In 2020, I foresee us as a web community heading toward

Here’s a smart post from Manuel Matuzovic where he digs into why accessibility is so important for building websites:

January 15th, 2020 was the day Microsoft Edge went Chromium. A drop in browser engine diversity. There is a strong argument to be made that's not good for an

Say you have an address that your user typed in, like 1600 Pennsylvania Avenue NW, Washington, DC, USA, and now you need more information about it. Maybe you

Here's Raymon Camden on adding site search functionality to a site that is statically hosted. A classic trick! Just shoot 'em to Google and scope the results

I admit I didn’t know the ins and outs of what the Jamstack is until recently, despite having heard the term so frequently. I think I’m not alone in this.

It's just a word to evoke the idea that serving as much as you can statically while using client-side code and hitting serverless APIs for any needs after that.

I recently started drawing on my iPad using the Procreate app with Apple Pencil. I’m enjoying the flexibility of drawing this way. What usually keeps me from

Amy Kapernick covers four types of testing that front-end devs could and should be doing: