A Look at the Cloudinary WordPress Plugin

Cloudinary (the media hosting and optimization service) has a brand new version (v3) of its WordPress plugin that has really nailed it. First, a | Continue reading


@css-tricks.com | 3 years ago

Recreating the Apple Music Hits Playlist Animation in CSS

Apple Music has this "Spatial Audio" feature where the direction of the music in your headphones is based on the location of the device. It's tough to | Continue reading


@css-tricks.com | 3 years ago

We Analyzed 425,909 Favicons

This is a neat idea for a research project. The big map is fun, but the research had some tidbits in it worth looking at. The average favicon network | Continue reading


@css-tricks.com | 3 years ago

When is it “Right” to Reach for contain and will-change in CSS?

I've got some blind spots in CSS-related performance things. One example is the will-change property. It's a good name. You're telling the browser some | Continue reading


@css-tricks.com | 3 years ago

A Handy Little System for Animated Entrances in CSS

I love little touches that make a website feel like more than just a static document. What if web content wouldn’t just “appear” when a page loaded, but | Continue reading


@css-tricks.com | 3 years ago

Creating Generative Patterns with The CSS Paint API

The browser has long been a medium for art and design. From Lynn Fisher's joyful A Single Div creations to Diana Smith's staggeringly detailed CSS | Continue reading


@css-tricks.com | 3 years ago

Which SVG technique performs best for way too many icons?

Tyler Sticka digs in here in the best possible way: by making a test page and literally measuring performance. Maybe 1,000 icons is a little bit of an | Continue reading


@css-tricks.com | 3 years ago

Control Layout in a Multi-Directional Website

Many business websites need a multilingual setup. As with anything development-related, implementing one in an easy, efficient, and maintainable way is | Continue reading


@css-tricks.com | 3 years ago

On User Tracking and Industry Standards on Privacy

Inspired by Eva PenzeyMoog's new book, Jeremy highlights the widespread user tracking situation in this industry: There was a line that really | Continue reading


@css-tricks.com | 3 years ago

CSS “decorations”

A reader wrote to me the other day asking about this bit of CSS they came across in Wikipedia's Common.css: .mw-collapsible-leftside-toggle | Continue reading


@css-tricks.com | 3 years ago

Responsive Layouts, Fewer Media Queries

We cannot talk about web development without talking about Responsive Design. It’s just a given these days and has been for many years. Media queries are | Continue reading


@css-tricks.com | 3 years ago

Reimagine Atomic CSS

I'm not the biggest fan of Atomic CSS myself. I don't like all the classes. I like to express my styles in CSS because I find CSS... good. But I | Continue reading


@css-tricks.com | 3 years ago

Coding Font Game

A tournament bracket UI where you pick your favorite between two coding fonts and your choices are whittled down all the way to a final winner. A clever | Continue reading


@css-tricks.com | 3 years ago

Parallax Powered by CSS Custom Properties

Good friend Kent C. Dodds has recently dropped his new website which had a lot of work go into it. I was fortunate enough that Kent reached out a while | Continue reading


@css-tricks.com | 3 years ago

The Many Faces of VS Code in the Browser

VS Code is built from web technologies (HTML, CSS, and JavaScript), but dare I say today it's mostly used a local app that's installed on your machine. | Continue reading


@css-tricks.com | 3 years ago

PHP Date and Time Recipes

Dealing with dates and times is one of those things that can frustrate programmers a lot. At the same time, they are fundamental to software development, | Continue reading


@css-tricks.com | 3 years ago

Zero Trickery Custom Radios and Checkboxes

I feel like half of all "custom-designed radio buttons and checkboxes" do two things: Make them biggerColorize them I always think of SurveyMonkey for | Continue reading


@css-tricks.com | 3 years ago

What do you get for using a search input type?

Like this: You get an extra-round-y appearance in Safari, which at one time matched the macOS look for search inputs, but not | Continue reading


@css-tricks.com | 3 years ago

Cherry-Picking Commits in Git

In part 5 of this series, we looked at rebasing and merging. Although there are a couple of differences between git merge and git rebase, both commands have the same goal: they integrate changes from one branch into another. | Continue reading


@css-tricks.com | 3 years ago

The Gap (Design Engineering)

Egor Kloos describes a situation where a (purely visual) designer asks for some changes to a component. There is a misunderstanding where the (code | Continue reading


@css-tricks.com | 3 years ago

A Clever Sticky Footer Technique

Upon hearing "sticky footer" these days, I would think most people imagine a position: sticky situation where a footer element appears fixed on the screen | Continue reading


@css-tricks.com | 3 years ago

Line length revisited: following the research

Mary Dyson produces nitty gritty research on the long-accepted notion that shorter line lengths are more legible than longer ones. The study finds that | Continue reading


@css-tricks.com | 3 years ago

Generate a Pull Request of Static Content With a Simple HTML Form

Jamstack has been in the website world for years. Static Site Generators (SSGs) — which often have content that lives right within a GitHub repo itself — | Continue reading


@css-tricks.com | 3 years ago

Jamstack TV

That's the name of Netlify's YouTube Channel. Love that. I linked up Rich's talk the other day, which was a part of this past JamstackConf, but now all | Continue reading


@css-tricks.com | 3 years ago

Color Alpha Anywhere

In my "Different Degrees of Custom Property Usage" article, I noted a situation about colors and CSS custom properties where I went "too far" with | Continue reading


@css-tricks.com | 3 years ago

Defining and Applying UI Themes Using the Mimcss CSS-in-JS Library

Theming UI refers to the ability to perform a change in visual styles in a consistent manner that defines the “look and feel” of a site. Swapping color | Continue reading


@css-tricks.com | 3 years ago

Other Looks at the Conditional Border Radius Trick

Remember when Ahmad Shadeed wrote about that border-radius "toggle" he found in Facebook's CSS? It was interesting! I covered it. A few weeks after that | Continue reading


@css-tricks.com | 3 years ago

Interactive Rebase: Clean up your Commit History

Interactive Rebase is the Swiss Army knife of Git commands: lots of use cases and lots of possibilities! It's really a great addition to any developer's tool chain, because it lets you revise your local commit history—before you share your work with the rest of the team. Let's se … | Continue reading


@css-tricks.com | 3 years ago

Semantic menu context

Scott digs into the history of the

element. He traced it as far back as HTML 2 (!) in a 1994 changelog. The vibe then, it seems, was to mark | Continue reading


@css-tricks.com | 3 years ago

Easy Dark Mode (and Multiple Color Themes!) in React

I was working on a large React application for a startup, and aside from just wanting some good strategies to keep our styles organized, I wanted to give | Continue reading


@css-tricks.com | 3 years ago

Quickly Get Alerted to Front-End Errors and Performance Issues

Measuring things is great. They say what you only fix what you measure. Raygun is great at measuring websites. Measuring performance, measuring errors and | Continue reading


@css-tricks.com | 3 years ago

Don’t Snore on CORS

Whatever, I just needed a title. Everyone's favorite web security feature has crossed my desk a bunch of times lately and I always feel like that is a | Continue reading


@css-tricks.com | 3 years ago

Quick and Dirty Bootstrap Overrides at Runtime

Oh, Bootstrap, that old standard web library that either you hate or you spend all your time defending as “it’s fine, it’s not that bad.” Regardless of | Continue reading


@css-tricks.com | 3 years ago

cleanup.pictures

Nice domain, eh? Does just what it says on the tin: cleans up pictures. You draw over areas of the image you want cleaned up, and it does its best using | Continue reading


@css-tricks.com | 3 years ago

Detecting Specific Text Input with HTML and CSS

Louis Lazaris breaks down some bonafide CSS trickery from Jane. The Pen shows off interactivity where: You have to press a special combination of keys on | Continue reading


@css-tricks.com | 3 years ago

VideoPress for WordPress

The leade here is that VideoPress makes video on WordPress way better. VideoPress is a part of Jetpack. And now, if VideoPress is the only thing you care | Continue reading


@css-tricks.com | 3 years ago

React Suspense: Lessons Learned While Loading Data

Suspense is React’s forthcoming feature that helps coordinate asynchronous actions—like data loading—allowing you to easily prevent inconsistent state in | Continue reading


@css-tricks.com | 3 years ago

CSS Grid Can Do Auto Height Transitions

Bonafide CSS trick alert! Nelson Menezes figured out a new way (that only works in Firefox for now) that is awfully clever. Perhaps you know that CSS | Continue reading


@css-tricks.com | 3 years ago

Icon Glassmorphism Effect in CSS

I recently came across a cool effect known as glassmorphism in a Dribble shot. My first thought was I could quickly recreate it in a few minutes if I just | Continue reading


@css-tricks.com | 3 years ago

Does the Next Generation of Static Site Generators Make Building Sites Better?

Just ran across îles, a new static site generator mostly centered around Vue. The world has no particular shortage of static site generators, but it's | Continue reading


@css-tricks.com | 3 years ago

Favicons: How to Make Sure Browsers Only Download the SVG Version

Šime Vidas DM'd me the other day about this thread from subzey on Twitter. My HTML for favicons was like this: | Continue reading


@css-tricks.com | 3 years ago

Yes, Design Systems Do Improve Developer Efficiency and Design Consistency

One of the toughest things about being someone who cares deeply about design systems is making the case for a dedicated design system. Folks in leadership | Continue reading


@css-tricks.com | 3 years ago

How to Create an Animated Chart of Nested Squares Using Masks

We have many well-known chart types: bar, donut, line, pie, you name it. All popular chart libraries support these. Then there are the chart types that do | Continue reading


@css-tricks.com | 3 years ago

enterkeyhint

I only just recently learned the enterkeyhint attribute on form inputs was a thing! It seems like kind of a big deal to me, as crafting HTML form markup | Continue reading


@css-tricks.com | 3 years ago

Introducing Svelte, and Comparing Svelte with React and Vue

Josh Collingsworth is clearly a big fan of Svelte, so while this is a fun and useful comparison article, it's here to crown Svelte the winner all the way | Continue reading


@css-tricks.com | 3 years ago

Fixing the Drift in Shape Rotations

Steve Ruiz calls this post an "extra-obscure edition of design tool micro-UX," but I find it fascinating! If you select a bunch of elements in a design | Continue reading


@css-tricks.com | 3 years ago

Scroll-Linked Animations With the Web Animations API (WAAPI) and ScrollTimeline

The Scroll-linked Animations specification is an upcoming and experimental addition that allows us to link animation-progress to scroll-progress: as you | Continue reading


@css-tricks.com | 3 years ago

Chapter 10: Browser Wars

In June of 1995, representatives from Microsoft arrived at the Netscape offices. The stated goal was to find ways to work together—Netscape as the single | Continue reading


@css-tricks.com | 3 years ago