Home/Frontend
Topic

Frontend

1,551 articles on Frontend.

11,834 articles
Frontend — Scroll-Driven Animations

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.

JWJosh W. Comeau·April 28, 2026Frontend
Frontend — Quick Hit #128

Quick Hit #128

Safari TP 242 trials the more advanced version of attr() from CSS Values and Units Module Level 5.

DSDaniel SchwarzDaniel Schwarz·April 27, 2026Frontend
Frontend — A new programming model for durable execution

A new programming model for durable execution

Vercel Workflows is now GA. Write durable, long-running functions in TypeScript or Python. No orchestrator, no Kubernetes, no separate infrastructure. 100M+ runs in beta across 1,500+ customers.

VVercel·April 16, 2026Frontend
Frontend — Squash and Stretch

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.

JWJosh W. Comeau·April 13, 2026Frontend
Frontend — Selecting a Date Range in CSS

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.

PPreethiPreethi·April 9, 2026Frontend
Frontend — Quick Hit #117

Quick Hit #117

Safari TP 240 becomes the first to ship the revert-rule CSS keyword, which rolls the rule back to when it didn’t have its current value.

DSDaniel SchwarzDaniel Schwarz·April 1, 2026Frontend
Frontend — Inside Gen 13- how we built our most powerful server yet

Inside Gen 13- how we built our most powerful server yet

Cloudflare's Gen 13 servers introduce AMD EPYC™ Turin 9965 processors and a transition to 100 GbE networking to meet growing traffic demands. In this technical deep dive, we explain the engineering rationale behind each major component selection.

SJSyona, JqSyona, Jq·March 23, 2026Frontend
Frontend — Sneaky Header Blocker Trick

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 yourself.

JWJosh W. Comeau·March 23, 2026Frontend
Frontend — Patch Me If You Can: AI Codemods for Secure-by-Default Android Apps

Patch Me If You Can: AI Codemods for Secure-by-Default Android Apps

Even seemingly simple engineering tasks — like updating an API — can become monumental undertakings when you’re dealing with millions of lines of code and thousands of engineers, especially if the changes are security-related. Nowhere is this more apparent than in mobile security, where a single class of vulnerability can be replicated across hundreds of […]

CWChris Wiltz·March 13, 2026Frontend
Frontend — Moving From Moment.js To The JS Temporal API — Smashing Magazine

Moving From Moment.js To The JS Temporal API — Smashing Magazine

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-based code to the new Temporal API.

JAJoe AttardiJoe Attardi·March 13, 2026Frontend
Frontend — Getting Started With The Popover API — Smashing Magazine

Getting Started With The Popover API — Smashing Magazine

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 accessibility now come from the platform itself, not from ad-hoc JavaScript.

GAGodstime AburuGodstime Aburu·March 2, 2026Frontend
Frontend — Building frontend UIs with Codex and Figma

Building frontend UIs with Codex and Figma

With Codex to Figma, teams can bring real, running interfaces into Figma to explore, refine, and make decisions together, then bring it back to Codex with design context intact.

YKYarden Katz·February 26, 2026Frontend
Frontend — A Complete Guide to Bookmarklets

A Complete Guide to Bookmarklets

Browsers don't just let you bookmark web pages. You can also bookmark JavaScript, allowing you to do so much more than merely save pages.

DCDeclan ChidlowDeclan Chidlow·February 25, 2026Frontend
Frontend — Sprites on the Web

Sprites on the Web

In game development, it’s common to use spritesheets for animation, but this technique isn’t as widely used on the web these days. Which is a shame, because we can do some pretty cool stuff with sprites! In this post, we’ll share the niche CSS function you can use to leverage this technique, and explore some of the potential use cases.

JWJosh W. Comeau·February 23, 2026Frontend
Frontend — What’s !important #5: Lazy-loading iframes, Repeating corner-shape Backgrounds, and More

What’s !important #5: Lazy-loading iframes, Repeating corner-shape Backgrounds, and More

This issue of What’s !important is dedicated to our friends in the UK, who are currently experiencing a very miserable 43-day rain streak. Presenting: the five most interesting things to read about CSS from the last couple of weeks. Plus, the latest features from Chrome 145, and anything else you might’ve missed. TL;DR: lots of content, but also lots of rain.

DSDaniel SchwarzDaniel Schwarz·February 13, 2026Frontend
Frontend — Making a Responsive Pyramidal Grid With Modern CSS

Making a Responsive Pyramidal Grid With Modern CSS

This is the second part of a small two-part series. In this article, we will explore another type of grid: a pyramidal one. We are still working with hexagon shapes, but a different organization of the elements., while exploring other different shapes.

TATemani AfifTemani Afif·February 12, 2026Frontend
Frontend — ReliCSS

ReliCSS

Stu Robson's ReliCSS (clever name!) tool can excavate outdated CSS in your codebase that have modern CSS solutions.

GGGeoff GrahamGeoff Graham·January 28, 2026Frontend
Frontend — Unstacking CSS Stacking Contexts — Smashing Magazine

Unstacking CSS Stacking Contexts — Smashing Magazine

In CSS, we can create “stacking contexts” where elements are visually placed one on top of the next in a three-dimensional sense that creates the perception of depth. Stacking contexts are incredibly useful, but they’re also widely misunderstood and often mistakenly created, leading to a slew of layout issues that can be tricky to solve.

GSGabriel ShoyomboGabriel Shoyombo·January 27, 2026Frontend
Frontend — Responsive Hexagon Grid Using Modern CSS

Responsive Hexagon Grid Using Modern CSS

A while back, Temani tacked a repeating grid of hexagon shapes. Well, he's updated it with modern CSS features that result in fewer magic numbers. And it's impressive!

TATemani AfifTemani Afif·January 23, 2026Frontend
Frontend — Quick Hit #88

Quick Hit #88

The new CSS grid lanes (aka masonry) layout spec continues to evolve... item-tolerance becomes flow-tolerance (Issue #10884).

GGGeoff GrahamGeoff Graham·January 22, 2026Frontend
Frontend — Quick Hit #87

Quick Hit #87

Manuel Matuzović shares his position-try-fallbacks CSS reset for ensuring that anchored elements always flip/never overflow.

DSDaniel SchwarzDaniel Schwarz·January 21, 2026Frontend
Frontend — Quick Hit #86

Quick Hit #86

Chrome 144 trials the <geolocation> HTML element, which is currently on the standards track.

DSDaniel SchwarzDaniel Schwarz·January 19, 2026Frontend
Frontend — "I Heart CSS" DailyDev Squad

"I Heart CSS" DailyDev Squad

If you're reading this, chances are you already have some sort of way that you're following when we publish new content, whether that's RSS, Bluesky,

GGGeoff GrahamGeoff Graham·January 16, 2026Frontend
Frontend — Thank You (2025 Edition)

Thank You (2025 Edition)

This is the best job I've had in my life and it's only possible because you keep showing up each day to read, learn, share, and discuss all-things-front-end (and a little CSS, of course) with us.

GGGeoff GrahamGeoff Graham·December 23, 2025Frontend
Frontend — How AI Is Transforming the Adoption of Secure-by-Default Mobile Frameworks

How AI Is Transforming the Adoption of Secure-by-Default Mobile Frameworks

Meta’s secure-by-default frameworks wrap potentially unsafe OS and third-party functions, making security the default while preserving developer speed and usability. These frameworks are designed to closely mirror existing APIs, rely on public and stable interfaces, and maximize developer adoption by minimizing friction and complexity. Generative AI and automation accelerate the adoption of secure

CWChris Wiltz·December 15, 2025Frontend
Frontend — Quick Hit #68

Quick Hit #68

Firefox 146 has shipped the CSS Color 5 version of contrast-color() that only resolves to black or white. Hopefully Chrome support and CSS Color 6

DSDaniel SchwarzDaniel Schwarz·December 10, 2025Frontend
Frontend — Quick Hit #65

Quick Hit #65

Firefox Nightly adds CSS anchor positioning support, which you can learn a lot more about in our complete guide.

GGGeoff GrahamGeoff Graham·December 3, 2025Frontend
Frontend — Quick Hit #63

Quick Hit #63

Black Friday might be over but you can still save big on any of Piccalilli's CSS, JavaScript, or UX courses until December 9th, 2025.

DSDaniel SchwarzDaniel Schwarz·December 1, 2025Frontend
Frontend — Brand New Layouts with CSS Subgrid

Brand New Layouts with CSS Subgrid

Subgrid allows us to extend a grid template down through the DOM tree, so that deeply-nested elements can participate in the same grid layout. At first glance, I thought this would be a helpful convenience, but it turns out that it’s so much more. Subgrid unlocks exciting new layout possibilities, stuff we couldn’t do until now. ✨

JWJosh W. Comeau·November 25, 2025Frontend
Frontend — Enhancing HDR on Instagram for iOS With Dolby Vision

Enhancing HDR on Instagram for iOS With Dolby Vision

We’re sharing how we’ve enabled Dolby Vision and ambient viewing environment (amve) on the Instagram iOS app to enhance the video viewing experience. HDR videos created on iPhones contain unique Dolby Vision and amve metadata that we needed to support end-to-end Instagram for iOS is now the first Meta app to support Dolby Vision video, […]

CWChris Wiltz·November 17, 2025Frontend