Increase Your Reach

NGL, I was a little overwhelmed when I sat down to write this article. There are so many things that immediately flooded my mind—take out any extra divs; use links for URLs, use buttons for events … | Continue reading


@css-tricks.com | 2 years ago

Links on Performance V

Does shadow DOM improve style performance? — Nolan Lawson covers how, because of the inherent encapsulation of the shadow DOM, the styling gets applied a bit faster than it would if those styl… | Continue reading


@css-tricks.com | 2 years ago

Make Joyful Things

Everything kind of sucks right now. Things—generally—feel bad. Setting aside the broader realities of a global pandemic and rampant social injustices, we’re watching the identity of the web platfor… | Continue reading


@css-tricks.com | 2 years ago

Auto Dark Theme

There are a number of ways to approach a dark mode for your website, but essentially you get all the styles ready for it and then apply them when the user has indicated they want them, whether by d… | Continue reading


@css-tricks.com | 2 years ago

Build Great Apps: Designer and Developer Collaboration Just Got Easier

We’re going to go over details on how designer ↔️ developer collaboration in AWS Amplify Studio can make app building easier, but let’s cover one of those things right at … | Continue reading


@css-tricks.com | 2 years ago

Be Prepared for Failure and Handle it Gracefully

When I was working at my first “real” job in the field in the mid-2000s, it was hammered in the web dev field to build tiny websites (no more than 100KB per page), only use JavaScript for special e… | Continue reading


@css-tricks.com | 2 years ago

What is the one thing people can do to make their website better? EoY CSSTricks

Continue reading


@css-tricks.com | 2 years ago

A visual introduction to machine learning

Just the first sentence alone here from Stepanie Yee and Tony Chu is solid: In machine learning, computers apply statistical learning techniques to automatically identify patterns in data… | Continue reading


@css-tricks.com | 2 years ago

Maybe Nothing

What’s one thing we can do to make our site better? Maybe nothing at all! Our websites keep getting bigger and bigger! When we have a team with so many exciting ideas and such interesting technolog… | Continue reading


@css-tricks.com | 2 years ago

The surprising behavior of !important in CSS custom property values

Huh! I did not realize that CSS custom properties had their own resolution behavior for how !important works in their values. Uh, despite writing a guide about them. 😬 But hey it’s no… | Continue reading


@css-tricks.com | 2 years ago

Consistent, Fluidly Scaling Type and Spacing

When Chris first sent me this prompt, I was thinking about writing about progressive enhancement, but that subject is so wide-reaching to be one thing and all too predictable, especially for those … | Continue reading


@css-tricks.com | 2 years ago

Topological sort

Jordan Scales explores the computer science concept of topological sorting, and what it might look like if applied to the concept of z-index in CSS. So, you don’t express what the z-index sho… | Continue reading


@css-tricks.com | 2 years ago

HTML Sanitizer API

Three cheers for (draft stage) progress on a Sanitizer API! It’s gospel that you can’t trust user input. And indeed, any app I’ve ever worked on has dealt with bad actors trying t… | Continue reading


@css-tricks.com | 2 years ago

Working With Web Feeds: It’s More Than RSS

Between Google Chrome experimenting with “following” sites, along with a growing frustration of how social media platforms limit a creator’s reach to their fans through algorithmic feed… | Continue reading


@css-tricks.com | 2 years ago

Maybe there kinda is background-opacity?

I was reading Jake’s “Cross-fading any two DOM elements is currently impossible” which is a wonderfully nerdy deep dive into how there is no real way to literally cross-fade eleme… | Continue reading


@css-tricks.com | 2 years ago

The Vite Ecosystem

Matias Capeletto covers the breadth of Vite, from the technological shoulders it stands on, to the peers exploring similar territory, to the other technologies it supports, to the frameworks that n… | Continue reading


@css-tricks.com | 2 years ago

Remove Trackers

Earlier this week, I tried out a starter theme for a blog platform. The theme had loads of nice default features: pretty typography, fancy navigation, dark mode widget… and a couple of default trac… | Continue reading


@css-tricks.com | 2 years ago

The UI fund

Google is handing out bucks for CSS-related projects, so you might as well know about it! Nicole Sullivan: All of us who work on the web regularly benefit from the work of people who create specifi… | Continue reading


@css-tricks.com | 2 years ago

CSS: Before Vs:Before

Note the double-colon ::before versus the single-colon :before. Which one is correct? Technically, the correct answer is ::before. But that doesn’t mean you should automatically use it. | Continue reading


@css-tricks.com | 2 years ago

Read Your Website

When’s the last time you read your website? Like out loud in the lobby of a Starbucks on a weekday afternoon, over the phone to your parents, or perhaps even as a bedtime story for your kids. No wo… | Continue reading


@css-tricks.com | 2 years ago

Faulty logic

Ain’t this the truth: It’s like when you’re learning a new language. At some point your brain goes from translating from your mother tongue into the other language, and instead star… | Continue reading


@css-tricks.com | 2 years ago

Think Without Boxes

What’s the one thing people can do to make their website better? Now that is a good question. One with many right answers, like improving performance, taking care of accessibility, and upgrading us… | Continue reading


@css-tricks.com | 2 years ago

I’m confused about Static Site Generators. Are they only for informational sites where I can’t log in or display any dynamic data?

I got this question from a listener the other day. Fair question, I’d say. The word “Static” in “Static Site Generator” is at-odds with the word “Dynamic.”… | Continue reading


@css-tricks.com | 2 years ago

CSS-Tricks Chronicle XLI

Ya know, I used to do one of these posts after making a few podcast appearances I hadn’t had a chance to link up yet, so I could share them. As fate would have it, I haven’t been on man… | Continue reading


@css-tricks.com | 2 years ago

File Scaffolding With Hygen

I read a recent Smashing Magazine post that included a recommendation for Hygen. I just happen to be doing quite a bit of new UI work in a Next.js app and the amount of manual folder/file scaffoldi… | Continue reading


@css-tricks.com | 2 years ago

Shadow Palette Generator

Josh’s Shadow Palette Generator is a fantastic tool. The premise is that box-shadow pretty much always looks better when there are multiple layered shadows that are a bit tinted. It reminds m… | Continue reading


@css-tricks.com | 2 years ago

Embrace the Platform - CSS-Tricks

So what is the one thing that people can do is to make their website better? To answer that, let’s take a step back in time … The year is 1998, and the web is on the rise. In an attempt to gi… | Continue reading


@css-tricks.com | 2 years ago

Ship a Full-Stack App in Days with AWS Amplify Studio

Amazon has a vision with AWS Amplify. First, a premise: As browsers have become faster and more powerful over the last decade, front-end developers are building web apps that are more feature-rich … | Continue reading


@css-tricks.com | 2 years ago

Help Users Accomplish What They Came For - CSS-Tricks

From my perspective, the question of what one thing we can do to make a website better is not a technical one. The more I browse the internet, the more I realize that the biggest issue with a lot o… | Continue reading


@css-tricks.com | 2 years ago

Why would a business push a native app over a website?

I wanted to write down what I think the reasons are here in December of 2021 so that we might revisit it from time to time in the future and see if these reasons are still relevant. I’m a web… | Continue reading


@css-tricks.com | 2 years ago

Using Position Sticky With CSS Grid

Say you’ve got a two-column CSS grid and you want one of those columns to behave like position: sticky;. There is nothing stopping you from doing that. But the default height for those two co… | Continue reading


@css-tricks.com | 2 years ago

Standardizing Focus Styles With CSS Custom Properties

Take two minutes right now and visit your current project in a browser. Then, using only the Tab key, you should be able to navigate between interactive elements including buttons, links, and form … | Continue reading


@css-tricks.com | 2 years ago

Eye Droppin’

Quick hits! There is a new web API called EyeDropper: if (‘EyeDropper’ in window) { const eyeDropper = new EyeDropper(); try { // This has gotta be triggered by a user interaction, // s… | Continue reading


@css-tricks.com | 2 years ago

Some notes on using esbuild

This is a fantastic article from Julia Evans about duking it out with modern front-end tooling. Julia has made a bunch of Vue projects and typically uses no build process at all:  I usually ha… | Continue reading


@css-tricks.com | 2 years ago

Links on WordPress I

I try to keep up with WordPress news because I’m a big WordPress user and have many production sites that run on it. WordPress has been good to me as a site builder for literally my entire ca… | Continue reading


@css-tricks.com | 2 years ago

Learn From Remix

I’ve built websites that are used by millions of people all over the world. I’ve made more mistakes than I care to count and I’ve had to deal with the repercussions of those mistakes for years ther… | Continue reading


@css-tricks.com | 2 years ago

The Invisible JavaScript Backdoor

An interesting (scary) trick of an nearly undetectable exploit. Wolfgang Ettlinger: What if a backdoor literally cannot be seen and thus evades detection even from thorough… | Continue reading


@css-tricks.com | 2 years ago

Spicy Sections

What if HTML had “tabs”? That would be cool, says I. Dave has been spending some of his time and energy, along with a group of “Tabvengers” from OpenUI, on this. A lot of re… | Continue reading


@css-tricks.com | 2 years ago

Test Your Product on a Crappy Laptop

There is a huge and ever-widening gap between the devices we use to make the web and the devices most people use to consume it. It’s also no secret that the average size of a website is huge, … | Continue reading


@css-tricks.com | 2 years ago

Inertia - CSS-Tricks

I’ve always like Jeremy’s categorization of developer tools: I’ve mentioned two categories of tools for web development. I still don’t know quite what to call these categories. Internal… | Continue reading


@css-tricks.com | 2 years ago

Jetpack Licensing for Agencies and Professionals

I’ve built WordPress websites for I don’t know how long now, but suffice to say I’ve relied on it for a bulk of the work I do as a freelance front-ender. And in that time, I’… | Continue reading


@css-tricks.com | 2 years ago

How to Use an iPad for WordPress Theme Development

I recently started university and, before buying a MacBook Air (the M1 chips are amazing by the way), I had to use an iPad Pro for class. However, being a Computer Science student meant I had to fi… | Continue reading


@css-tricks.com | 2 years ago

Open Props (and Custom Properties as a System)

Perhaps the most basic and obvious use of CSS custom properties is design tokens. Colors, fonts, spacings, timings, and other atomic bits of design that you can pull from as you design a site. If y… | Continue reading


@css-tricks.com | 2 years ago

hhhelpers

I was just going on about how many awesome little helper sites there are out there, and now I’ve ran across another wonderful little hive of them. Sébastien Noël, under the name fffuel, has c… | Continue reading


@css-tricks.com | 2 years ago

Reduce Your Website’s Environmental Impact With a Carbon Budget

As I write this, world leaders are gathering in Glasgow for COP26, the international climate change conference, in the attempt to halt (or at least slow down) catastrophic climate change by pledgin… | Continue reading


@css-tricks.com | 2 years ago

Low framerate in Safari on M1 Mac

John James Jacoby: I recently noticed that animations in Safari were stuttering pretty badly on my M1 powered 2020 MacBook Air, and dove in to figure out why. The why: This wasn’t a bug. This was a… | Continue reading


@css-tricks.com | 2 years ago

Ain’t No Party Like a Third Party

I’d like to tell you something not to do to make your website better. Don’t add any third-party scripts to your site. That may sound extreme, but at one time it would’ve be… | Continue reading


@css-tricks.com | 2 years ago

Bartosz Ciechanowski’s Interactive Blog Posts

I saw Bartosz Ciechanowski’s “Curves and Surfaces” going around the other day and was like, oh hey, this is the same fella that did that other amazingly interactive blog post on t… | Continue reading


@css-tricks.com | 2 years ago