Frontend

6 unread articles.

April 2026
J
Josh W. Comeau7 days ago

Scroll-Driven Animations

The new Animation Timeline API allows us to create dynamic scroll animations without any JavaScript! It’s honestly a very lovely API, and in this blog post, we’ll explore some of the super cool things we can do with it.

Frontend
C
CSS-Tricks8 days ago

Let’s Use the Nonexistent ::nth-letter Selector Now

My shim might give the powers that be another reason to say native support isn't necessary, or if lots of people use my :nth-letter hack in the wild, the browser gods might recognize the need to implement it for real. Let’s Use the Nonexistent ::nth-letter Selector Now originally handwritten and pub

Frontend
S
Smashing Magazine8 days ago

The “Bug-Free” Workforce: How AI Efficiency Is Subtly Disrupting The Interactions That Build Strong Teams

AI tools are eliminating the need to “bug” colleagues for help, but the informal interactions they replace are the very scaffolding that builds team trust, belonging, and innovation. Casey Hudetz and Eric Olive explore the research and potential impacts behind that risk and offer practical strategie

Frontend
w
web.dev11 days ago

New to the web platform in April

Discover some of the interesting features that have landed in stable and beta web browsers during April 2026.

Frontend
C
CSS-Tricks12 days ago

Recreating Apple’s Vision Pro Animation in CSS

Putting CSS’s more recent scrolling animation capabilities to the test to recreate a complex animation of the Apple Vision Pro headset from Apple's website. Recreating Apple’s Vision Pro Animation in CSS originally handwritten and published with love on CSS-Tricks. You should really get the newslett

Frontend
C
CSS-Tricks13 days ago

Enhancing Astro With a Markdown Component

I use a Markdown Component for two main reasons: (1) It reduces the amount of markup I need to write, and (2) it converts typographic symbols. Here's how it works. Enhancing Astro With a Markdown Component originally handwritten and published with love on CSS-Tricks. You should really get the newsle

Frontend
S
Smashing Magazine13 days ago

The UX Designer’s Nightmare: When “Production-Ready” Becomes A Design Deliverable

In a rush to embrace AI, the industry is redefining what it means to be a UX designer, blurring the line between design and engineering. Carrie Webster explores what’s gained, what’s lost, and why designers need to remain the guardians of the user experience.

Frontend
C
CSS-Tricks15 days ago

Markdown + Astro = ❤️

Although Astro has built-in support for Markdown via .md files, I'd argue that your Markdown experience can be enhanced with MDX. Markdown + Astro = ❤️ originally handwritten and published with love on CSS-Tricks. You should really get the newsletter as well.

Frontend
S
Smashing Magazine15 days ago

Session Timeouts: The Overlooked Accessibility Barrier In Authentication Design

Poorly handled session timeouts are more than a technical inconvenience. They can become serious accessibility barriers that interrupt essential online tasks, especially for people with disabilities. Here is how to implement thoughtful session management that improves usability, reduces frustration,

Frontend
C
CSS-Tricks18 days ago

What’s !important #9: clip-path Jigsaws, View Transitions Toolkit, Name-only Containers, and More

This issue of What’s !important brings you clip-path jigsaws, a view transitions toolkit, name-only containers, the usual roundup of new, notable web platform features, and more. What’s !important #9: clip-path Jigsaws, View Transitions Toolkit, Name-only Containers, and More originally handwritten

Frontend
C
CSS-Tricks19 days ago

A Well-Designed JavaScript Module System is Your First Architecture Decision

Behind every technology, there should be a guide for its use. While JavaScript modules make it easier to write “big” programs, if there are no principles or systems for using them, things could easily become difficult to maintain. A Well-Designed JavaScript Module System is Your First Architecture D

Frontend
C
CSS-Tricks21 days ago

The Radio State Machine

One of the best-known examples of CSS state management is the checkbox hack. What if we want a component to be in one of three, four, or seven modes? That is where the Radio State Machine comes in. The Radio State Machine originally handwritten and published with love on CSS-Tricks. You should reall

Frontend
w
web.dev21 days ago

March 2026 Baseline monthly digest

Read about various happenings with Baseline during March 2026.

Frontend
C
CSS-Tricks22 days ago

7 View Transitions Recipes to Try

Craving for a view transition? Sunkanmi has lots of common transitions you can drop into your website right now! 7 View Transitions Recipes to Try originally handwritten and published with love on CSS-Tricks. You should really get the newsletter as well.

Frontend
J
Josh W. Comeau22 days ago

Squash and Stretch

Have you ever heard of Disney’s 12 Basic Principles of Animation? In this tutorial, we’ll explore how we can use the very first principle to create SVG micro-interactions that feel way more natural and believable. It’s one of those small things that has a big impact.

Frontend
S
Smashing Magazine25 days ago

How To Improve UX In Legacy Systems

Practical guidelines for driving UX impact in organizations with legacy systems and broken processes. Brought to you by Measuring UX Impact, **friendly video course on UX** and design patterns by Vitaly.

Frontend
C
CSS-Tricks26 days ago

Selecting a Date Range in CSS

A clever approach for selecting multiple dates on a calendar where the :nth-child()'s “n of selector” syntax does all the heavy lifting... even in the JavaScript. Selecting a Date Range in CSS originally handwritten and published with love on CSS-Tricks. You should really get the newsletter as well.

Frontend
M
MDN Blog27 days ago

Under the hood of MDN's new frontend

You may have spotted that MDN has a new frontend. There's plenty happening under the surface, so let's unpack the technologies we chose, the architectural decisions we made, and why we did a rebuild at all.

Frontend
C
CSS-Tricks28 days ago

Alternatives to the !important Keyword

Cascade layers, specificity tricks, smarter ordering, and even some clever selector hacks can often replace !important with something cleaner, more predictable, and far less embarrassing to explain to your future self. Alternatives to the !important Keyword originally handwritten and published with

Frontend
S
Smashing Magazine28 days ago

Identifying Necessary Transparency Moments In Agentic AI (Part 1)

Designing for agentic AI requires attention to both the system’s behavior and the transparency of its actions. Between the black box and the data dump lies a more thoughtful approach. Victor Yocco explores how to map decision points and reveal the right moments to build trust through clarity, not no

Frontend
C
CSS-Tricks29 days ago

Looking at New CSS Multi-Column Layout Wrapping Features

Chrome 145 introduces the column-height and column-wrap properties, enabling us to wrap the additional content into a new row below, creating a vertical scroll instead of a horizontal scroll. Looking at New CSS Multi-Column Layout Wrapping Features originally handwritten and published with love on C

Frontend
C
CSS-Tricks1 month ago

Making Complex CSS Shapes Using shape()

Creating rectangles, circles, and rounded rectangles is the basic of CSS. Creating more complex CSS shapes such as triangles, hexagons, stars, hearts, etc. is more challenging but still a simple task if we rely on modern features. Making Complex CSS Shapes Using shape() originally handwritten and pu

Frontend
C
CSS-Tricks1 month ago

Front-End Fools: Top 10 April Fools’ UI Pranks of All Time

These are the historical pranks I consider the top 10 most noteworthy, rather than the “best.” You’ll see that some of them crossed the line and/or backfired. Front-End Fools: Top 10 April Fools’ UI Pranks of All Time originally handwritten and published with love on CSS-Tricks. You should really ge

Frontend
C
CSS-Tricks1 month ago

Sniffing Out the CSS Olfactive API

A deep sniff of the new CSS Olfactive API, a set of proposed features for immersive user experiences using smell. Sniffing Out the CSS Olfactive API originally handwritten and published with love on CSS-Tricks. You should really get the newsletter as well.

Frontend
S
Smashing Magazine1 month ago

A Practical Guide To Design Principles

Design principles with references, examples, and methods for quick look-up. Brought to you by Design Patterns For AI Interfaces, **friendly video courses on UX** and design patterns by Vitaly.

Frontend
March 2026
C
CSS-Tricks1 month ago

What’s !important #8: Light/Dark Favicons, @mixin, object-view-box, and More

Short n’ sweet but ever so neat, this issue covers light/dark favicons, @mixin, anchor-interpolated morphing, object-view-box, new web features, and more. What’s !important #8: Light/Dark Favicons, @mixin, object-view-box, and More originally handwritten and published with love on CSS-Tricks. You sh

Frontend
S
Smashing Magazine1 month ago

The Joy Of A Fresh Beginning (April 2026 Wallpapers Edition)

With the new month just around the corner, could there be a better occasion to freshen up your desktop? If you’re looking for some unique and inspiring wallpapers to accompany you on all those adventures that April may bring — and maybe spark some new ideas, too — well, this post has got you covered

Frontend
w
web.dev1 month ago

February 2026 Baseline monthly digest

Read about various happenings with Baseline during February 2026.

Frontend
w
web.dev1 month ago

New to the web platform in March

Discover some of the interesting features that have landed in stable and beta web browsers during March 2026.

Frontend
S
Smashing Magazine1 month ago

The Site-Search Paradox: Why The Big Box Always Wins

Success in modern UX isn’t about having the most content. It’s about having the most findable content. Yet even with more data and better tools than ever, internal search often fails, leaving users to rely on global search engines to find a single page on a local site. Why does the “Big Box” still w

Frontend
S
Smashing Magazine1 month ago

Testing Font Scaling For Accessibility With Figma Variables

Accessibility works best when it blends into everyday design workflows. The goal isn’t a big transformation, but simple work processes that fit naturally into a team’s routine. With Figma variables, testing font size increases becomes part of the design flow itself, making accessibility feel almost

Frontend
J
Josh W. Comeau1 month ago

Sneaky Header Blocker Trick

There is a lil’ UI detail on this blog. Most people don’t even notice it, but the ones who do often reach out, asking how on earth it works. It feels like it defies the rules of CSS! In this blog post, I’ll break down the surprisingly-straightforward implementation so you can start using this trick

Frontend
S
Smashing Magazine2 months ago

Modal vs. Separate Page: UX Decision Tree

How to choose between modals and pages, when to avoid modals, and how to determine the right level of interruption or navigation. Brought to you by Smart Interface Design Patterns, a **friendly video course on UX** and design patterns by Vitaly.

Frontend
S
Smashing Magazine2 months ago

Anime vs. Marvel/DC: Designing Digital Products With Emotion In Flow

Design is about pacing and feelings as much as pixels and patterns. Alan Cohen explores Emotion in Flow and Emotion in Conflict, showing how anime like Dan Da Dan and superhero films like James Gunn’s Superman manage emotional shifts and translating those ideas into practical patterns for product de

Frontend
K
Kent C. Dodds2 months ago

Implementing Hybrid Semantic + Lexical Search

Semantic search alone wasn't good enough. Here's how I improved search on kentcdodds.com through three rounds of iteration with Cursor and GPT-5.4, each time learning something that the previous design missed.

Frontend
S
Smashing Magazine2 months ago

Moving From Moment.js To The JS Temporal API

The way JavaScript handles time has evolved significantly, from the built-in `Date` API to Moment.js and now Temporal. The new standard fills gaps in the original `Date` API while addressing limitations found in Moment and other libraries. Joe Attardi shares practical “recipes” for migrating Moment-

Frontend
S
Smashing Magazine2 months ago

Beyond `border-radius`: What The CSS `corner-shape` Property Unlocks For Everyday UI

For years, developers have been hacking around the limitations of `border-radius`, using clip-path, SVG masks, and fragile workarounds just to get anything other than round corners. The new `corner-shape` property finally changes that, opening the door to beveled, scooped, and squircle corners.

Frontend
K
Kent C. Dodds2 months ago

Simplifying Containers with Cloudflare Sandboxes

How I replaced a long-lived Cloudflare Container with a one-shot Cloudflare Sandbox, deleted most of the control-plane code, and let an agent do the heavy lifting in less than an hour of my own time.

Frontend
S
Smashing Magazine2 months ago

Building Dynamic Forms In React And Next.js

Some forms stay UI, while others quietly become rule engines. Here’s why these two different approaches exist and how to choose between them.

Frontend
K
Kent C. Dodds2 months ago

Migrating to Workspaces and Nx

The interesting part of moving kentcdodds.com to npm workspaces was not the file moves. It was everything the file moves broke.

Frontend
S
Smashing Magazine2 months ago

Persuasive Design: Ten Years Later

Many product teams still lean on usability improvements and isolated behavioral tweaks to address weak activation, drop-offs, and low retention – only to see results plateau or slip into shallow gamification. Anders Toxboe updates persuasive design for today’s reality, clarifying what has actually h

Frontend
K
Kent C. Dodds2 months ago

Offloading FFmpeg with Cloudflare

How I moved Call Kent podcast episode processing off my primary Fly.io app server and onto Cloudflare Queues and Containers: what broke, what I missed, and whether it was worth the complexity.

Frontend
S
Smashing Magazine2 months ago

Human Strategy In An AI-Accelerated Workflow

UX design is entering a new phase, with designers shifting from makers of outputs to directors of intent. AI can now generate wireframes, prototypes, and even design systems in minutes, but UX has never been only about creating interfaces. It’s about navigating ambiguity, advocating for humans in sy

Frontend
S
Smashing Magazine2 months ago

Now Shipping: Accessible UX Research, A New Smashing Book By Michele Williams

Our newest Smashing Book, “Accessible UX Research” by Michele Williams, is finally shipping worldwide — and we couldn’t be happier! This book is about research, but you’ll also learn about assistive technology, different types of disability, and how to build accessibility into the entire design proc

Frontend
S
Smashing Magazine2 months ago

Getting Started With The Popover API

What happens if you rebuild a single tooltip using the browser’s native model without the aid of a library? The Popover API turns tooltips from something you simulate into something the browser actually understands. Opening and closing, keyboard interaction, Escape handling, and much of the accessib

Frontend
w
web.dev2 months ago

January 2026 Baseline monthly digest

Read about various happenings with Baseline during January 2026

Frontend