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

Proxying Third-Party JavaScript as First-Party JavaScript (and the Potential Effect on Analytics)

First, check out how incredibly easy it is to write a Cloudflare Worker to proxy another URL: addEventListener("fetch", (event) => { event.respondWith( | Continue reading


@css-tricks.com | 3 years ago

GUI Challenges

I keep bookmarking Adam's GUI Challenges posts/videos and, before I even have a chance to review and link them up, another one is already published! | Continue reading


@css-tricks.com | 3 years ago

Rebase vs. Merge: Integrating Changes in Git

This article is part of our “Advanced Git” series. Be sure to follow us on Twitter or sign up for our newsletter to hear about the next articles! Most | Continue reading


@css-tricks.com | 3 years ago

Responsible JavaScript

High five to Jeremy on the big release of Responsible JavaScript on A Book Apart. There is a lot of talk about how the proliferation of JavaScript has had | Continue reading


@css-tricks.com | 3 years ago

Buttons vs. Links

There are thousands of articles out there about buttons and links on the web; the differences and how to use them properly. Hey, I don't mind. I wrote my | Continue reading


@css-tricks.com | 3 years ago

Have Single-Page Apps Ruined the Web? (“Transitional Apps”)

A big heaping 19-minute bowl of not-too-hot, not-too-cold baby bear porridge website building from Rich Harris. I've certainly overheard more than my fair | Continue reading


@css-tricks.com | 3 years ago

So, You Want to Build an @mention Autocomplete Feature?

There’s no reason a composition box has to be a dull text area. You can mention another person, a channel, a file, or some other queryable object using triggers, such as the @ or # characters. | Continue reading


@css-tricks.com | 3 years ago

CSS-ing Candy Ghost Buttons

Recently, while looking for some ideas on what to code as I have zero artistic sense so the only thing I can do is find pretty things that other people | Continue reading


@css-tricks.com | 3 years ago

Some Articles About Accessibility I’ve Saved Recently IV

A guide to designing accessible, WCAG-compliant focus indicators — Sara Soueidan says you can make more accessible focus outlines by doing your own, | Continue reading


@css-tricks.com | 3 years ago

Create Your Own Automated Social Images With Resoc

There has been a lot of talk about automated social images lately. GitHub has created its own. A WordPress plugin has been acquired by Jetpack. There is | Continue reading


@css-tricks.com | 3 years ago

Okhsv and Okhsl

There is an old Russian fable where Okhsv and Okhsl are on a rowboat and Okhsv says to Okhsl, "What are the known shortcomings of HSL and HSV color | Continue reading


@css-tricks.com | 3 years ago

Vite + _____

Vite, "Next Generation Frontend Tooling" from Evan You, has been capturing a lot of attention. I've heard rave reviews from developers, even in private | Continue reading


@css-tricks.com | 3 years ago

Merge Conflicts: What They Are and How to Deal with Them​

Merge conflicts... Nobody likes them. Some of us even fear them. But they are a fact of life when you're working with Git, especially when you're teaming up with other developers. In most cases, merge conflicts aren't as scary as you might think. In this fourth part of our “Advan … | Continue reading


@css-tricks.com | 3 years ago

Building an Angular Data Grid With Filtering

Kendo UI makes it possible to go from a basic idea to a full-fledged app, thanks to a massive component library. We're talking well over 100 components | Continue reading


@css-tricks.com | 3 years ago

Sticky Definition Lists

I ran across this 30 seconds of code website the other day, and they have a CSS section which is really good! The first example snippet I looked at was | Continue reading


@css-tricks.com | 3 years ago

How to Implement and Style the Dialog Element

A look from Christian Kozalla on the

HTML element and using it to create a nice-looking and accessible modal. CodePen Embed Fallback I'm | Continue reading


@css-tricks.com | 3 years ago

Testing Vue Components With Cypress

Cypress is an automated test runner for browser-based applications and pages. I’ve used it for years to write end-to-end tests for web projects, and was | Continue reading


@css-tricks.com | 3 years ago

On Browser-Specific URL Schemes

We've covered URL schemes: A URL Scheme is like “http://…” or “ftp://…”. Those seem like a very low-level concept that you don’t have much control over, | Continue reading


@css-tricks.com | 3 years ago

In-Page Filtered Search With Vanilla JavaScript

If you have a page that includes a lot of information, it’s a good idea to let users search for what they might be looking for. I’m not talking about | Continue reading


@css-tricks.com | 3 years ago

Userwell is for Managing Customer Feedback

Building products for users is a balance between your vision of what your product can do for them, and refining that vision based on their feedback. If | Continue reading


@css-tricks.com | 3 years ago

The Greatest CSS Tricks Vol. I eBook (PDF and EPUB)

When I wrote the "book" The Greatest CSS Tricks Vol. I, I put "book" in quotes because there wasn't anything terribly book-like about it. The only way you | Continue reading


@css-tricks.com | 3 years ago

The Semantics of Jamstack

The past year has seen a healthy debate around the term 'Jamstack' as the definition gets stretched to include new use cases. I recently posted my take on | Continue reading


@css-tricks.com | 3 years ago

Exploring the CSS Paint API: Rounding Shapes

Adding borders to complex shapes is a pain, but rounding the corner of complex shapes is a nightmare! Luckily, the CSS Paint API is here to the rescue! | Continue reading


@css-tricks.com | 3 years ago

The CSS-in-React Landscape

I only half-jokingly refer to the CSS-in-JS world as CSS-in-React. Many of the libraries listed below theoretically work in non-React situations — they | Continue reading


@css-tricks.com | 3 years ago

How to Create a Contact Form With Next.js and Netlify

We're going to create a contact form with Next.js and Netlify that displays a confirmation screen and features enhanced spam detection. Next.js is a | Continue reading


@css-tricks.com | 3 years ago

Some Typography Links VIII

Do you know what to use the @ sign for something other than email addresses and Twitter handles? I do! —  Pawel Grzybek notes how some old physical | Continue reading


@css-tricks.com | 3 years ago

Creating Your Own Bragdoc With Eleventy

No matter what stage you’re at as a developer, the tasks we complete—whether big or small—make a huge impact in our personal and professional growth. | Continue reading


@css-tricks.com | 3 years ago

@supports selector()

I didn't realize the support for @supports determining selector support was so good! I usually think of @supports as a way to test for property: value | Continue reading


@css-tricks.com | 3 years ago

An Interview With Elad Shechter on “The New CSS Reset”

Hey folks! Elad reached out to me to show me his new CSS reset project called the-new-css-reset. It’s quite interesting! I thought a neat way to share it | Continue reading


@css-tricks.com | 3 years ago

Three-Digit Browser Versions in March 2022

We aren’t supposed to be doing any sort of decision-making based on browser User-Agent Strings. But, ya know, collectively, we do. Karl Dubost notes that | Continue reading


@css-tricks.com | 3 years ago

How to Build a Nearly Headless WordPress Website

I believe that a traditional WordPress theme should be able to work as effectively as a static site or a headless web app. The overwhelming majority of | Continue reading


@css-tricks.com | 3 years ago

Expandable Sections Within a CSS Grid

I love CSS Grid. I love how, with just a few lines of code, we can achieve fully responsive grid layouts, often without any media queries at all. I’m | Continue reading


@css-tricks.com | 3 years ago

Different Degrees of Custom Property Usage

One way to work with Custom Properties is to think of them as design tokens. Colors, spacings, fonts, and whatnot. You set them at the root of the page | Continue reading


@css-tricks.com | 3 years ago

CSS is Going Gosh-Darned Hog Wild, I Tell Ya What

As someone just sittin' back watching CSS evolve, it feels like we're at one of the hottest moments of innovation in CSS history. It was really something | Continue reading


@css-tricks.com | 3 years ago

Jamstack Developers’ Favorite Frameworks of 2021

Which new framework should I learn this year? Is it time to ditch my CMS? What tools should I pick up if I want to scale my site to an audience of | Continue reading


@css-tricks.com | 3 years ago

WooCommerce + Google Analytics

Google Analytics is powerful analytics software. A common way to use it is to just slap the JavaScript snippet on every page template you have and let it | Continue reading


@css-tricks.com | 3 years ago

Those “Get The App” Banners

Why would a company promote a native app over their perfectly usable website?We’d have to ask them, I suppose. But it’s hard not to see this push to | Continue reading


@css-tricks.com | 3 years ago

Cash (Tiny jQuery Alternative)

The README for Cash is straightforward: Cash is an absurdly small jQuery alternative for modern browsers (IE11+) that provides jQuery-style syntax for | Continue reading


@css-tricks.com | 3 years ago

Better Collaboration With Pull Requests

This article is part of our “Advanced Git” series. Be sure to follow us on Twitter or sign up for our newsletter to hear about the next articles! In this | Continue reading


@css-tricks.com | 3 years ago