Archive by Author

Displaying the Weather With Serverless and Colors

I like to jog. Sometimes it’s cold out. Sometimes it’s cold out, but it looks like it isn’t. The sun is shining, the birds are chirping. Then you step outside in shorts and a t-shirt and realize you have roughly 2 minutes before exposure sets in.

I decided to solve this first world problem using a lightbulb to display a certain color based on what the temperature outside is. It works better than I expected, and that’s saying something because …

The post Displaying the Weather With Serverless and Colors appeared first on CSS-Tricks.

The Best UX is No User Interface at All

We have to anticipate how the user is going to think or react and everyone is different. Well designed systems can get us close to intuitive. .Even a perfect UI would be less than ideal. The ideal is to have no middleman at all. No translation layer. Historically speaking, this hasn’t been possible because we can’t “speak” to computers.


The Best UX is No User Interface at All is a post from CSS-Tricks

How Would You Solve This Rendering Puzzle In React?

Welcome, React aficionados and amateurs like myself! I have a puzzle for you today.

Let’s say that you wanted to render out a list of items in a 2 column structure. Each of these items is a separate component. For example, say we had a list of albums and we wanted to render them a full page 2 column list. Each “Album” is a React component.

Scroll rendering problem

Now assume the CSS framework that you are using requires you …


How Would You Solve This Rendering Puzzle In React? is a post from CSS-Tricks

Can VS Code Do Emmet?

As in, does Visual Studio Code, the free code editor from Microsoft, work with Emmet, the free and open source code expansion tool? The answer is of course! In fact, you don’t have to do anything at all to get it going. Emmet is built-in to VS Code.

Let’s take a look at what Emmet can do and some VS Code specific stuff to make the most of it.

In this article, I’ll use ⌘ to denote  the …


Can VS Code Do Emmet? is a post from CSS-Tricks