
Apollo GraphQL without JavaScript
It's cool to see progressive enhancement being done even while using the fanciest of the fancy front-end technologies.
902 articles by Chris Coyier.

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!

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

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.

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

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.

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

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.

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

I've said before that HSL is the best color format we have. Most of us aren't like David DeSandro, who can read hex codes. HSL(a) is Hue, Saturation,

I love stuff like this.

Pavithra Kodmad asked people for recommendations on what they thought were some of the most timeless articles about web development that have changed their

Been seeing a lot of Eleventy action lately. It's a smaller player in the world of static site generators, but I think it's got huge potential because of how

I love how nerdy this is. Autumn allows you to write JavaScript to control your windows. Get this window, move it over here. Nudge this window over. There are

I'm a fan of the componentization of the web. I think it's a very nice way to build a website at just about any scale (except, perhaps, the absolute most

I think we all have an intuitive understanding that, at the beginning of projects that require our creativity (be it design or code), things feel uncertain

Where do you put styles in web components?

NetNewsWire is one of the classic RSS apps, debuting in 2002. I was pretty stoked when it went 5.0 and was open-sourced in August 2019! You can snag it right

Christian Schaefer has a great big write-up about dealing with web advertisements. The whole thing is interesting, first documenting all the challenges that

I find it notable when the blog of a major accessibility-focused company like Deque publishes an article called Debunking the Myth: Accessibility and React.

Two articles published the exact same day:

Tomasz Łakomy posted a joke tweet about naming all the CSS attributes and Tejas Kumar replied with a joke answer, going as far as making an npm module. You

Congrats to Chris Enns, our podcast editor on ShopTalk and CodePen Radio, for landing a really cool new podcast to edit: Business Dad. It's Alexis Ohanian,

When drawing lines with SVG, you often have a element with a stroke. You set a stroke-dasharray that is as long as the path itself, as well as a stroke-offset

Ben Ellerby:

We've got Netlify as a sponsor around here again this year, which is just fantastic. Big fan. Our own Sarah Drasner is Head of DX (Developer Experience) over

Snowpack. Love that name. This is the new thing from the Pika people, who are on to something. It's a bundler alternative, in a sense. It runs over packages

We covered the idea of animating curved text not long ago when a fun New York Times article came out. All I did was peek into how they did it and extract the

I love that Paravel is so busy doing so much cool stuff they literally just forgot that they built this and are just now releasing it.

"But why do I have to learn Python?" She wailed, "I like Scratch!"

Editor's Note: Chrome is prototyping a new feature for creating carousels directly in CSS, including scroll buttons and scroll markers for navigating between

I edit a good amount of technical articles about the web, and there is a tendency for authors to be super broad in their opening sentence, like "What we're

The text logo has a slash cut through the text. You set two copies on top of one another, cropping both of them with the clip-path property.

The answer used to be absolutely yes because, if you used px units, you prevented the text from being resized by the user at all.

There are multiple ways to declare variables in JavaScript. We had var, and while that still works like it always has, it is generally said that let and const

I saw a video posted on Twitter from Channel 5 News in the UK (I have no idea what the credibility of them is, it's an ocean away from me) with anchor Claudia

One of the many (many) useful things that Jetpack does is give you extra-fancy custom blocks in the WordPress block (AKA Gutenberg) editor: a slideshow,

On the regular web (I suppose) we handle "dark mode" with the CSS prefers-color-scheme media query. But, and to nobody's surprise, it's way weirder in the

I'm probably in the minority on this, but I've never ever built one of those "This site uses cookies, here's some kind of explanation of why, and please click

Robin has covered this before, but I've heard some confusion about it in the past few weeks and saw another person take a stab at explaining it, and I wanted

Our own Robin Rendle:

God I'm funny.

I suspect it is not highly known that CSS can control how text is selected. You can do user-select: none; to prevent some text from being selected. That's

The word "microbrowser" clearly got my attention. Never heard that before. Colin Bendell defines them as the little parts of other software that do HTTP

One of our yearly traditions here is to thank all y'all CSS-Tricks readers at the passing of a new year. It means a lot to me that people come here and read

Hats off to Neal Agarwal for some stellar interactive work lately, like The Deep Sea, a vertical scrolling experience to help us understand the depth of the