Home/Frontend
Topic

Frontend

2,065 articles on Frontend.

13,309 articles
Frontend — 10 Big Ol’ 2027 Black Friday Deals

10 Big Ol’ 2027 Black Friday Deals

A big ol' roundup of Black Friday deals on front-end courses from the best independent publishers and educators in the business. 10 Big Ol’ 2027 Black Friday Deals originally handwritten and published with love on CSS-Tricks . You should really get the newsletter as well.

GGGeoff GrahamGeoff Graham·November 13, 2026Frontend
Frontend — CSS Optimization: Is Using Declarations Just Once (UDJO) Still Effective Today?

CSS Optimization: Is Using Declarations Just Once (UDJO) Still Effective Today?

Is the technique inspired by the DRY principle by identifying and reducing (if not eliminating) CSS declaration repetition still a relevant optimization strategy? CSS Optimization: Is Using Declarations Just Once (UDJO) Still Effective Today? originally handwritten and published with love on CSS-Tricks . You should really get the newsletter as well.

JOJens Oliver MeiertJens Oliver Meiert·November 10, 2026Frontend
Frontend — Launching the Vite Ecosystem Fund

Launching the Vite Ecosystem Fund

Cloudflare is distributing the first $301,300 of the Vite Ecosystem Fund to open source projects and maintainers. The recipients were chosen by a panel of Vite stack core team members, including maintainers not employed by Cloudflare.

MDMichael Dong·November 9, 2026Frontend
Frontend — CSS-Tricks, Version 20

CSS-Tricks, Version 20

Things look a little different around here? I hope so because we just pushed a site redesign! Here's everything new with the 20th(!!) version of CSS-Tricks. CSS-Tricks, Version 20 originally handwritten and published with love on CSS-Tricks . You should really get the newsletter as well.

GGGeoff GrahamGeoff Graham·November 9, 2026Frontend
Frontend — RSS Club: CSS-Tricks Redesign Preview

RSS Club: CSS-Tricks Redesign Preview

Hey you wonderful RSS subscribers! We just soft-pushed a site redesign and wanted to give ya'll the first heads-up. A full write-up is coming but here are the high-level details. RSS Club: CSS-Tricks Redesign Preview originally handwritten and published with love on CSS-Tricks . You should really get the newsletter as well.

GGGeoff GrahamGeoff Graham·November 6, 2026Frontend
Frontend — Taming Typography: Building a Modern CSS Reset

Taming Typography: Building a Modern CSS Reset

Stu created tidy-typography.css: a style reset for taming typography with modern CSS features for everything from fluid typography and vertical rhythm, to hyphens and variable fonts. Taming Typography: Building a Modern CSS Reset originally handwritten and published with love on CSS-Tricks . You should really get the newsletter as well.

SRStu Robson·November 5, 2026Frontend
Frontend — Re-Implementing :nth-child() With Modern CSS

Re-Implementing :nth-child() With Modern CSS

Combining :nth-child with style queries and sibling-index() to conditionally select child elements. Re-Implementing :nth-child() With Modern CSS originally handwritten and published with love on CSS-Tricks . You should really get the newsletter as well.

TATemani AfifTemani Afif·November 3, 2026Frontend
Frontend — Modern CSS Might Make Your Front-End More Complex

Modern CSS Might Make Your Front-End More Complex

Replacing JavaScript with a modern CSS feature can simplify a piece of code while making the wider application harder to reason about. Gabriel Shoyombo explores what happens when logic is split between CSS and JavaScript, sharing practical guidance to help you keep complexity in check during migration.

SMSmashing Magazine·November 3, 2026Frontend
Frontend — What’s !important #20: GTA 6 Scroll Effects, Scrollspies, random()

What’s !important #20: GTA 6 Scroll Effects, Scrollspies, random()

This is the final issue of What’s !important on CSS-Tricks.com. The good news is that it’s coming back in an expanded form as the CSS-Tricks newsletter. I had ya there for a second, didn’t I? Sorry, I couldn’t decide whether to trick or treat, so I went for both. Happy Halloween What’s !important #20: GTA 6 Scroll Effects, Scrollspies, random() originally handwritten and published with love on CSS

DSDaniel SchwarzDaniel Schwarz·November 2, 2026Frontend
Frontend — The Frankenstein Table

The Frankenstein Table

A super scary way to go about tables using other layout techniques, like CSS Grid. The Frankenstein Table originally handwritten and published with love on CSS-Tricks . You should really get the newsletter as well.

PPreethiPreethi·October 29, 2026Frontend
Frontend — What’s !important #19: CSS Refraction Effects, Scroll State Queries, @custom-media, and More

What’s !important #19: CSS Refraction Effects, Scroll State Queries, @custom-media, and More

We’re back! Don't worry, this isn’t a trick (despite what our name suggests!). However, due to the hiatus, we're also a little behind. That’s why this issue of What’s !important is absolutely stacked. All killer, no filler. Here's what you missed. What’s !important #19: CSS Refraction Effects, Scroll State Queries, @custom-media, and More originally handwritten and published with love on CSS-Trick

DSDaniel SchwarzDaniel Schwarz·October 27, 2026Frontend
Frontend — CSS-Tricks has a new owner!

CSS-Tricks has a new owner!

Yes, I've got the keys to the castle, so to speak. And, even after 12 years of working on the site, I'll admit I'm a little overwhelmed and nervous about that. CSS-Tricks has a new owner! originally handwritten and published with love on CSS-Tricks . You should really get the newsletter as well.

GGGeoff GrahamGeoff Graham·October 26, 2026Frontend
Frontend — The Future of CSS ✨

The Future of CSS ✨

Every year, browser vendors collaborate via the Interop project to synchronize their efforts on new HTML/CSS/JS features. This year, there’s a ton of super exciting features being considered! In this blog post, we’ll explore the CSS of the future, to get a glimpse of what we’ll soon be able to do.

JWJosh W. Comeau·October 20, 2026Frontend
Frontend — Embracing Playful Imperfection With The CSS `random()` Function

Embracing Playful Imperfection With The CSS `random()` Function

Design systems thrive on consistency, so where does randomness fit in? Through playful demos of organic typography, bouncing letters, and splayed cards, Brecht De Ruyte shows how the new CSS `random()` function brings a little imperfection to the web without JavaScript libraries or preprocessor loops that generate hundreds of lines of static CSS.

SMSmashing Magazine·October 20, 2026Frontend
Frontend — Deploy with Void

Deploy with Void

Introducing Void: an open-source SDK, CLI, and self-hosted platform for building full-stack Vite apps and deploying them to Cloudflare.

CNChristoph Nakazawa·October 15, 2026Frontend
Frontend — How Meta Built Forum With AI-Native Engineering

How Meta Built Forum With AI-Native Engineering

Meta’s newest app, Forum, is for anyone who wants to go deeper into the conversations in their Facebook groups. To build Forum, Meta engineers adopted a whole new way of working by bringing an AI agent into the development cycle. We’re sharing insights into what it took to build Forum with agentic AI: how we [...] Read More... The post How Meta Built Forum With AI-Native Engineering appeared first

MEMeta Engineering·October 15, 2026Frontend
Frontend — Shipping Media Over QUIC at Meta Scale for Instagram Live Ingest

Shipping Media Over QUIC at Meta Scale for Instagram Live Ingest

Meta has begun deploying Media over QUIC (MoQ), an emerging open protocol for real-time video streaming at scale. MoQ will help simplify our protocol stack for live streaming video and enhance overall user experience for live video. We’re sharing how we shipped MoQ on Instagram Live ingest, and what the future looks like from here. [...] Read More... The post Shipping Media Over QUIC at Meta Scale

MEMeta Engineering·October 12, 2026Frontend
Frontend — Stop Treating CSS Container Queries Like Traditional Media Queries

Stop Treating CSS Container Queries Like Traditional Media Queries

Despite broad browser support, container queries remain surprisingly underused and frequently misunderstood. Let’s look at how they differ from media queries, when to reach for each, and how container queries help reusable components respond naturally to the contexts in which they appear. - CSS - Tools - Techniques

SMSmashing Magazine·September 16, 2026Frontend
Frontend — Let’s Use the Emergent CSS random() Function in all the Browsers

Let’s Use the Emergent CSS random() Function in all the Browsers

The journey to create a polyfill for the upcoming CSS random() function that works in all browsers. Let’s Use the Emergent CSS random() Function in all the Browsers originally handwritten and published with love on CSS-Tricks . You should really get the newsletter as well.

LMLee MeyerLee Meyer·August 31, 2026Frontend
Frontend — What’s !important #18: , Syntax ::highlight()ing, named-feature(), and More

What’s !important #18: , Syntax ::highlight()ing, named-feature(), and More

Well, that’s a wrap. No, not a flex-wrap, but rather today marks a new day, week, month, season, aaaand new edition of What’s important (#18), bringing you the best content that developers have produced over the last couple of weeks or so. What’s !important #18: <geolocation>, Syntax ::highlight()ing, named-feature(), and More originally handwritten and published with love on CSS-Tricks . You shou

DSDaniel SchwarzDaniel Schwarz·August 31, 2026Frontend
Frontend — Creating Web Widgets Using the Document Picture-in-Picture API

Creating Web Widgets Using the Document Picture-in-Picture API

The general idea is that we create a Document Picture-in-Picture window (DPIP window), and then we put HTML, CSS, and JavaScript into it. Creating Web Widgets Using the Document Picture-in-Picture API originally handwritten and published with love on CSS-Tricks . You should really get the newsletter as well.

DSDaniel SchwarzDaniel Schwarz·August 27, 2026Frontend
Frontend — animation-trigger

animation-trigger

The CSS animation-trigger property allows you to delay the start of a CSS animation until a specific trigger occurs. animation-trigger originally handwritten and published with love on CSS-Tricks . You should really get the newsletter as well.

SMSaleh MubasharSaleh Mubashar·August 26, 2026Frontend
Frontend — MicroLighter: Syntax Highlighter

MicroLighter: Syntax Highlighter

Syntax highlighting for code blocks without the complicated markup, spans, classes, and bloated JavaScript, courtesy of Uncle Dave. MicroLighter: Syntax Highlighter originally handwritten and published with love on CSS-Tricks . You should really get the newsletter as well.

GGGeoff GrahamGeoff Graham·August 25, 2026Frontend
Frontend — Quick Hit #173

Quick Hit #173

Chrome 152 ships the autocorrect HTML attribute, making it Baseline, and the alpha() CSS function (Safari and Firefox are to follow shortly).

DSDaniel SchwarzDaniel Schwarz·August 25, 2026Frontend
Frontend — WordPress PHP-Only Block Registration

WordPress PHP-Only Block Registration

Seven and half years after blocks arrived in Core, WordPress introduces a way to build blocks without React annd build pipelines. All you need is PHP. WordPress PHP-Only Block Registration originally handwritten and published with love on CSS-Tricks . You should really get the newsletter as well.

FKFränk KleinFränk Klein·August 24, 2026Frontend
Frontend — Resolved: CSS Class Prefix Selector

Resolved: CSS Class Prefix Selector

A newly resolved proposal would allow us to select classes that are a prefix for variations with a wildcard, like .prefix-* . Resolved: CSS Class Prefix Selector originally handwritten and published with love on CSS-Tricks . You should really get the newsletter as well.

GGGeoff GrahamGeoff Graham·August 21, 2026Frontend
Frontend — CSS Navigation Matching, Early Days

CSS Navigation Matching, Early Days

Apply a style when someone navigates from one specific page to another. The idea being it'd make the sources for cross-document view transitions declarative in CSS rather than managing that stuff in JavaScript. CSS Navigation Matching, Early Days originally handwritten and published with love on CSS-Tricks . You should really get the newsletter as well.

GGGeoff GrahamGeoff Graham·August 19, 2026Frontend
Frontend — WordPress.com Student Plan

WordPress.com Student Plan

As someone who teaches beginning web development, I find that building a WordPress site makes for a great final project. Hosting those projects has always been a roadblock though. WordPress.com Student Plan originally handwritten and published with love on CSS-Tricks . You should really get the newsletter as well.

GGGeoff GrahamGeoff Graham·August 19, 2026Frontend
Frontend — Dark mode toggles: two states are enough

Dark mode toggles: two states are enough

Lea's pushing back on light/dark mode implementations that display three state options for visitors: light, dark, and system. Dark mode toggles: two states are enough originally handwritten and published with love on CSS-Tricks . You should really get the newsletter as well.

GGGeoff GrahamGeoff Graham·August 17, 2026Frontend
Frontend — What’s !important #17: Custom Highlight API, CSS Navigation Matching, Fixing text-stroke, and More

What’s !important #17: Custom Highlight API, CSS Navigation Matching, Fixing text-stroke, and More

Plus, how to style skeleton UIs, how to enable diagonal scrolling, how images can overflow themselves, and yet, still more. Basically, how to do a lot of really cool (CSS) stuff. What’s !important #17: Custom Highlight API, CSS Navigation Matching, Fixing text-stroke, and More originally handwritten and published with love on CSS-Tricks . You should really get the newsletter as well.

DSDaniel SchwarzDaniel Schwarz·August 14, 2026Frontend
Frontend — Blocked aria-hidden: The Warning is Right, and Every Fix You’ve Found is Wrong

Blocked aria-hidden: The Warning is Right, and Every Fix You’ve Found is Wrong

The warning is correct. And the recommended fixes you've probably seen are wrong. Here's what you can do instead to properly fix the issue. Blocked aria-hidden: The Warning is Right, and Every Fix You’ve Found is Wrong originally handwritten and published with love on CSS-Tricks . You should really get the newsletter as well.

DRDurgesh Rajubhai Pawar·August 12, 2026Frontend
Frontend — Building Tactile UX: Honoring Intentional Design With Lottie — Smashing Magazine

Building Tactile UX: Honoring Intentional Design With Lottie — Smashing Magazine

When tasked with building a highly interactive, tactile web experience, the architecture must serve the art direction. In this article, Alexey Kopytin explains their architectural rationale for building a digital stress-relief squeeze toy game using Lottie animations, DOM events, and distance-based math to maintain absolute control over their designers’ intentional motion.

AKAlexey KopytinAlexey Kopytin·August 11, 2026Frontend
Frontend — Animating CSS border-image

Animating CSS border-image

Border images are an overlooked feature. One neat fact is that border image slices can run across entire borders on an element, and animating it creates beautiful effects. Animating CSS border-image originally handwritten and published with love on CSS-Tricks . You should really get the newsletter as well.

PPreethiPreethi·August 10, 2026Frontend
Frontend — SmashingConf Freiburg 2026, September 7-10

SmashingConf Freiburg 2026, September 7-10

Smashing Magazine’s in-person conferences are back and returning to the wonderful city of Freiburg next month, September 7–10. SmashingConf Freiburg 2026, September 7-10 originally handwritten and published with love on CSS-Tricks . You should really get the newsletter as well.

GGGeoff GrahamGeoff Graham·August 10, 2026Frontend
Frontend — Using and Styling the Dialog Element

Using and Styling the Dialog Element

There's a lot of nuance to the <dialog> element, a seemingly little piece of web architecture. I've got some notes from digging into it. Using and Styling the Dialog Element originally handwritten and published with love on CSS-Tricks . You should really get the newsletter as well.

GGGeoff GrahamGeoff Graham·August 7, 2026Frontend
Frontend — Workers RPC now works across Python and JavaScript

Workers RPC now works across Python and JavaScript

One coding agent can write a Python Worker and another can write a JavaScript Worker. At runtime, those Workers can exchange references to live objects and call their methods without defining APIs, schemas, or serialization code.

DGDominik, Gyeongjae ChoiDominik, Gyeongjae Choi·August 3, 2026Frontend
Frontend — Chat SDK brings agents to your users

Chat SDK brings agents to your users

Chat SDK is a unified TypeScript library for building chat bots that work across Slack, Discord, Teams, and more from a single codebase. Write once, deploy everywhere.

VVercel·July 18, 2026Frontend
Frontend — When It Makes Sense To “Block” The Main Thread — Smashing Magazine

When It Makes Sense To “Block” The Main Thread — Smashing Magazine

The common rule of thumb is to never “block” the browser’s main thread when running JavaScript tasks. But is this a hard rule? Victor Ayomipo describes a use case he encountered involving a screenshot extension where he made an exception to the rule and decided that blocking the main thread was absolutely the right thing to do.

VAVictor AyomipoVictor Ayomipo·July 17, 2026Frontend
Frontend — Getting Started with Anchor Positioning

Getting Started with Anchor Positioning

For decades, one of the most notoriously-challenging problems on the web has been sticking one element to another element, for things like tooltips and nested menus. The CSSWG has decided to provide a first-class solution to this problem, and it’s pretty friggin’ cool! In this tutorial, I’ll share the most useful parts I’ve found from this modern CSS feature.

JWJosh W. Comeau·July 6, 2026Frontend
Frontend — Next.js 3.0

Next.js 3.0

Next.js 3.0 comes with vastly improved HMR, dynamic imports, static exports and better serverless support!

VVercel·July 2, 2026Frontend
Frontend — Next.js 6.1

Next.js 6.1

Next.js 6.1 features improved reliability and consistency in development.

VVercel·July 2, 2026Frontend
Frontend — Running Next.js in ChatGPT: How to Build ChatGPT Apps

Running Next.js in ChatGPT: How to Build ChatGPT Apps

Next.js now runs natively in ChatGPT with working navigation, React Server Components, and full features. Learn how we made this possible behind ChatGPTs triple iframe architecture and deploy our starter template to get started.

VVercel·July 2, 2026Frontend