# Josh Comeau's blog

Friendly articles and tutorials for front-end web developers. ❤

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## The Future of CSS ✨

DevFeed: [The Future of CSS ✨](<https://devfeed.tech/articles/the-future-of-css-90805.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/css/interop-2027/>)

Author: Josh W. Comeau

Published: 2026-10-20T13:15:00Z

Content type: article

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Interop2027](<https://devfeed.tech/topics/interop2027.md>), [web animation](<https://devfeed.tech/topics/web-animation.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [anchor-positioning](<https://devfeed.tech/tags/anchor-positioning.md>), [animations](<https://devfeed.tech/tags/animations.md>), [api](<https://devfeed.tech/tags/api.md>), [blog-post](<https://devfeed.tech/tags/blog-post.md>), [border](<https://devfeed.tech/tags/border.md>), [border-shape](<https://devfeed.tech/tags/border-shape.md>), [browser](<https://devfeed.tech/tags/browser.md>), [browser-support](<https://devfeed.tech/tags/browser-support.md>), [browsers](<https://devfeed.tech/tags/browsers.md>), [calc](<https://devfeed.tech/tags/calc.md>), [css](<https://devfeed.tech/tags/css.md>), [features](<https://devfeed.tech/tags/features.md>), [future](<https://devfeed.tech/tags/future.md>), [html](<https://devfeed.tech/tags/html.md>), [interop](<https://devfeed.tech/tags/interop.md>)

### AI overview

Interop coordinates browser vendors' work on web features; the article says features selected for the project have often reached near-universal support within a year, citing CSS Subgrid. For planned Interop 2027, it previews proposals including reusable CSS functions, custom border shapes, queries for anchor fallback and scroll state, scroll-triggered animations, visual reading order, keyword-size transitions, and grid gap rules. Their status varies: some are already implemented in Chromium or Chrome, while CSS inherit() is described as highly preliminary and unsupported. The author suggests progressive enhancement for corner-shape and interpolate-size, with @supports gating the latter's transition. Other proposals address practical limits in current CSS, such as styling according to whether an anchored tooltip flipped, animating height to auto, and separating visual layout order from keyboard focus order.

### Source excerpt

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.

## Getting Started with Anchor Positioning

DevFeed: [Getting Started with Anchor Positioning](<https://devfeed.tech/articles/getting-started-with-anchor-positioning-45186.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/css/anchor-positioning/>)

Author: Josh W. Comeau

Published: 2026-07-06T13:15:00Z

Content type: tutorial

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [Web platform](<https://devfeed.tech/topics/web-platform.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [css](<https://devfeed.tech/tags/css.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [layout](<https://devfeed.tech/tags/layout.md>), [properties](<https://devfeed.tech/tags/properties.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [ui](<https://devfeed.tech/tags/ui.md>)

### AI overview

A tutorial on the CSS Anchor Positioning API, explaining how to attach floating elements such as tooltips and dropdown menus to anchor elements and handle positioning problems that historically required complex JavaScript.

### Source excerpt

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.

## CSS vs. JavaScript

DevFeed: [CSS vs. JavaScript](<https://devfeed.tech/articles/css-vs-javascript-45162.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/animation/css-vs-javascript/>)

Author: Josh W. Comeau

Published: 2026-05-26T13:30:00Z

Content type: article

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [web animation](<https://devfeed.tech/topics/web-animation.md>), [animations](<https://devfeed.tech/topics/animations.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [browser](<https://devfeed.tech/topics/browser.md>)

Tags: [animation](<https://devfeed.tech/tags/animation.md>), [browser](<https://devfeed.tech/tags/browser.md>), [css](<https://devfeed.tech/tags/css.md>), [css-transitions](<https://devfeed.tech/tags/css-transitions.md>), [gsap](<https://devfeed.tech/tags/gsap.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [javascript-animation](<https://devfeed.tech/tags/javascript-animation.md>), [performance](<https://devfeed.tech/tags/performance.md>), [react](<https://devfeed.tech/tags/react.md>)

### AI overview

This article compares CSS-based animations with JavaScript-based animations, including CSS keyframes, JavaScript loops, and animation libraries. It explains that JavaScript animation runs on the main thread, while CSS transitions and keyframes can run separately and remain smoother when JavaScript work blocks the main thread.

### Source excerpt

There are a bunch of JavaScript animation libraries out there, and you might have wondered whether there's a performance cost compared to traditional CSS transitions and keyframe animations. In this blog post, we'll compare the same animation across several different strategies and see the differences firsthand. There's some interesting nuance here!

## Scroll-Driven Animations

DevFeed: [Scroll-Driven Animations](<https://devfeed.tech/articles/scroll-driven-animations-45168.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/animation/scroll-driven-animations/>)

Author: Josh W. Comeau

Published: 2026-04-28T12:00:00Z

Content type: tutorial

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [animations](<https://devfeed.tech/topics/animations.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [Web platform](<https://devfeed.tech/topics/web-platform.md>)

Tags: [animation](<https://devfeed.tech/tags/animation.md>), [animations](<https://devfeed.tech/tags/animations.md>), [api](<https://devfeed.tech/tags/api.md>), [css](<https://devfeed.tech/tags/css.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [scroll](<https://devfeed.tech/tags/scroll.md>), [scroll-driven-animations](<https://devfeed.tech/tags/scroll-driven-animations.md>)

### AI overview

This tutorial explains how the CSS Animation Timeline API enables scroll-driven animations without JavaScript. It covers mapping keyframes to scroll progress, viewport-based inputs, timing functions, and implementation gotchas.

### Source excerpt

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.

## Squash and Stretch

DevFeed: [Squash and Stretch](<https://devfeed.tech/articles/squash-and-stretch-45170.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/animation/squash-and-stretch/>)

Author: Josh W. Comeau

Published: 2026-04-13T12:00:00Z

Content type: tutorial

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [micro-interactions for websites](<https://devfeed.tech/topics/micro-interactions-for-websites.md>), [SVG](<https://devfeed.tech/topics/svg.md>), [SVG animations in CSS](<https://devfeed.tech/topics/svg-animations-in-css.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [animation](<https://devfeed.tech/tags/animation.md>), [developers](<https://devfeed.tech/tags/developers.md>), [svg](<https://devfeed.tech/tags/svg.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [web-developers](<https://devfeed.tech/tags/web-developers.md>)

### AI overview

This tutorial explains how to apply the squash-and-stretch animation principle to SVG icons and web micro-interactions. It demonstrates stretchy arrow effects and introduces implementation using SVG code and animation techniques.

### Source excerpt

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.

## Implementing a CSS Sticky Header Background Effect with Blocker Elements

DevFeed: [Implementing a CSS Sticky Header Background Effect with Blocker Elements](<https://devfeed.tech/articles/sneaky-header-blocker-trick-45198.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/css/header-blockers/>)

Author: Josh W. Comeau

Published: 2026-03-23T12:00:00Z

Content type: tutorial

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [implementation](<https://devfeed.tech/topics/implementation.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>), [layout](<https://devfeed.tech/topics/layout.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [blog-post](<https://devfeed.tech/tags/blog-post.md>), [css](<https://devfeed.tech/tags/css.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [layout](<https://devfeed.tech/tags/layout.md>), [ui](<https://devfeed.tech/tags/ui.md>)

### AI overview

A tutorial explains how to create a sticky header background effect entirely with CSS. It uses color-matched blocker elements in the hero and article sections, relying on sticky positioning and container boundaries to transition the header background as the user scrolls.

### Source excerpt

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.

## Sprites on the Web

DevFeed: [Sprites on the Web](<https://devfeed.tech/articles/sprites-on-the-web-45169.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/animation/sprites/>)

Author: Josh W. Comeau

Published: 2026-02-23T11:00:00Z

Content type: tutorial

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [Web](<https://devfeed.tech/topics/web.md>)

Tags: [animation](<https://devfeed.tech/tags/animation.md>), [css](<https://devfeed.tech/tags/css.md>), [game-development](<https://devfeed.tech/tags/game-development.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [implementation](<https://devfeed.tech/tags/implementation.md>)

### AI overview

A tutorial on using image spritesheets to create web animations with CSS. It explains the basic implementation, frame sizing, CSS animation, use cases, and trade-offs, including why sprites can help on low-end mobile devices.

### Source excerpt

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.

## Brand New Layouts with CSS Subgrid

DevFeed: [Brand New Layouts with CSS Subgrid](<https://devfeed.tech/articles/brand-new-layouts-with-css-subgrid-45210.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/css/subgrid/>)

Author: Josh W. Comeau

Published: 2025-11-25T12:00:00Z

Content type: tutorial

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [layout](<https://devfeed.tech/topics/layout.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [Document Object Model (DOM)](<https://devfeed.tech/topics/dom.md>), [HTML](<https://devfeed.tech/topics/html.md>)

Tags: [css](<https://devfeed.tech/tags/css.md>), [css-grid](<https://devfeed.tech/tags/css-grid.md>), [devtools](<https://devfeed.tech/tags/devtools.md>), [gotchas](<https://devfeed.tech/tags/gotchas.md>), [grid](<https://devfeed.tech/tags/grid.md>), [grid-layout](<https://devfeed.tech/tags/grid-layout.md>), [html](<https://devfeed.tech/tags/html.md>), [layouts](<https://devfeed.tech/tags/layouts.md>), [subgrid](<https://devfeed.tech/tags/subgrid.md>)

### AI overview

A tutorial explaining how CSS Subgrid extends grid layouts through the DOM tree, enabling deeply nested elements to participate in a shared layout. It covers the fundamentals, implementation mechanics, semantic markup, DevTools inspection, and common gotchas.

### Source excerpt

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

## Springs and Bounces in Native CSS

DevFeed: [Springs and Bounces in Native CSS](<https://devfeed.tech/articles/springs-and-bounces-in-native-css-45165.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/animation/linear-timing-function/>)

Author: Josh W. Comeau

Published: 2025-10-28T12:00:00Z

Content type: tutorial

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [animations](<https://devfeed.tech/topics/animations.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [animation](<https://devfeed.tech/tags/animation.md>), [css](<https://devfeed.tech/tags/css.md>), [easing](<https://devfeed.tech/tags/easing.md>), [motion](<https://devfeed.tech/tags/motion.md>), [timing](<https://devfeed.tech/tags/timing.md>)

### AI overview

A tutorial on using CSS's linear() timing function to create physics-based springs, bounces, and other easing effects natively, without relying on JavaScript animation libraries. It explains how the function approximates easing curves with user-defined points and notes relevant limitations.

### Source excerpt

The "linear()" timing function is a game-changer; it allows us to model physics-based motion right in vanilla CSS! That said, there are some limitations and quirks to be aware of. I've been experimenting with this API for a while now, and in this post, I'll share all of the tips and tricks I've learned for using it effectively. ✨

## Using CSS @starting-style for Enter Animations and Handling Specificity Issues

DevFeed: [Using CSS @starting-style for Enter Animations and Handling Specificity Issues](<https://devfeed.tech/articles/the-big-gotcha-with-starting-style-45207.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/css/starting-style/>)

Author: Josh W. Comeau

Published: 2025-09-22T11:30:00Z

Content type: tutorial

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [animations](<https://devfeed.tech/topics/animations.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [selectors](<https://devfeed.tech/topics/selectors.md>)

Tags: [animations](<https://devfeed.tech/tags/animations.md>), [css](<https://devfeed.tech/tags/css.md>), [css-transitions](<https://devfeed.tech/tags/css-transitions.md>), [gotcha](<https://devfeed.tech/tags/gotcha.md>), [selectors](<https://devfeed.tech/tags/selectors.md>), [specificity](<https://devfeed.tech/tags/specificity.md>), [ui](<https://devfeed.tech/tags/ui.md>)

### AI overview

This tutorial explains how CSS @starting-style enables transitions for elements entering the page, a use case previously handled with keyframe animations. It also examines specificity and priority issues that can affect the resulting styles and discusses workarounds.

### Source excerpt

CSS has been on fire lately, with tons of great new features. @starting-style is an interesting one; it allows us to use CSS transitions for enter animations, something previously reserved for CSS keyframe animations. But is the juice worth the squeeze?

## Color Shifting in CSS

DevFeed: [Color Shifting in CSS](<https://devfeed.tech/articles/color-shifting-in-css-45160.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/animation/color-shifting/>)

Author: Josh W. Comeau

Published: 2025-09-08T13:30:00Z

Content type: tutorial

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [animations](<https://devfeed.tech/topics/animations.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [browser](<https://devfeed.tech/topics/browser.md>)

Tags: [animate](<https://devfeed.tech/tags/animate.md>), [animations](<https://devfeed.tech/tags/animations.md>), [background](<https://devfeed.tech/tags/background.md>), [browsers](<https://devfeed.tech/tags/browsers.md>), [css](<https://devfeed.tech/tags/css.md>), [hsl](<https://devfeed.tech/tags/hsl.md>), [rgb](<https://devfeed.tech/tags/rgb.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

This tutorial explains how to create color-shifting particle effects with CSS. It covers random RGB and HSL color generation, coordinated pastel-like palettes, and animating transitions between colors while discussing browser color-processing limitations and workarounds.

### Source excerpt

A little while ago, I was trying to animate an element's background color, so that it cycled through the rainbow. Seems easy, but it turns out, browsers have a surprisingly big limitation when it comes to color processing! In this tutorial, we'll dig into the issue, and I'll share a couple of strategies you can use to work around this limitation.

## An Interactive Guide to SVG Paths

DevFeed: [An Interactive Guide to SVG Paths](<https://devfeed.tech/articles/an-interactive-guide-to-svg-paths-45244.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/svg/interactive-guide-to-paths/>)

Author: Josh W. Comeau

Published: 2025-08-18T13:30:00Z

Content type: tutorial

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [SVG](<https://devfeed.tech/topics/svg.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [syntax](<https://devfeed.tech/topics/syntax.md>), [Graphics](<https://devfeed.tech/topics/graphics.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [guide](<https://devfeed.tech/tags/guide.md>), [interactive](<https://devfeed.tech/tags/interactive.md>), [svg](<https://devfeed.tech/tags/svg.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

An interactive tutorial explaining SVG path syntax and commands, including how move, line, and arc instructions create curved and other shapes. It builds intuition through visualizations and examples.

### Source excerpt

SVG gives us many different primitives to work with, but by far the most powerful is the element. Unfortunately, it's also the most inscrutable, with its compact Regex-style syntax. In this tutorial, we'll demystify this infamous element and see some of the cool things we can do with it!

## A Friendly Introduction to SVG

DevFeed: [A Friendly Introduction to SVG](<https://devfeed.tech/articles/a-friendly-introduction-to-svg-45243.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/svg/friendly-introduction-to-svg/>)

Author: Josh W. Comeau

Published: 2025-07-21T13:30:00Z

Content type: tutorial

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [SVG](<https://devfeed.tech/topics/svg.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [CSS](<https://devfeed.tech/topics/css.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [HTML](<https://devfeed.tech/topics/html.md>), [Document Object Model (DOM)](<https://devfeed.tech/topics/dom.md>), [XML](<https://devfeed.tech/topics/xml.md>)

Tags: [css](<https://devfeed.tech/tags/css.md>), [html](<https://devfeed.tech/tags/html.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [svg](<https://devfeed.tech/tags/svg.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [web](<https://devfeed.tech/tags/web.md>)

### AI overview

A beginner-friendly tutorial covering SVG fundamentals, including how SVG uses XML-based drawing instructions, integrates with HTML and the DOM, and can be styled and animated with CSS and JavaScript.

### Source excerpt

SVGs are one of the most remarkable technologies we have access to on the web. They're first-class citizens, fully addressable with CSS and JavaScript. In this tutorial, I'll cover all of the most important fundamentals, and show you some of the ridiculously-cool things we can do with this massively underrated tool. ✨

## Partial Keyframes

DevFeed: [Partial Keyframes](<https://devfeed.tech/articles/partial-keyframes-45166.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/animation/partial-keyframes/>)

Author: Josh W. Comeau

Published: 2025-06-10T11:00:00Z

Content type: tutorial

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [CSS](<https://devfeed.tech/topics/css.md>), [animations](<https://devfeed.tech/topics/animations.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [animations](<https://devfeed.tech/tags/animations.md>), [code](<https://devfeed.tech/tags/code.md>), [css](<https://devfeed.tech/tags/css.md>), [developers](<https://devfeed.tech/tags/developers.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

A tutorial explains how omitting the starting or ending block in CSS keyframe animations lets animations inherit values from the element's current context. This makes keyframes more reusable and composable, with examples using opacity.

### Source excerpt

CSS Keyframe animations are so much more powerful than most developers realize. In this tutorial, I'll show you something that completely blew my mind, a technique that makes our keyframe animations so much more reusable and dynamic! 🤯

## Why Percentage-Based CSS Heights Sometimes Have No Effect

DevFeed: [Why Percentage-Based CSS Heights Sometimes Have No Effect](<https://devfeed.tech/articles/the-height-enigma-45199.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/css/height-enigma/>)

Author: Josh W. Comeau

Published: 2025-05-12T11:30:00Z

Content type: tutorial

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [css](<https://devfeed.tech/tags/css.md>)

### AI overview

This tutorial explains why percentage-based CSS heights can appear to do nothing. It describes the circular calculation that occurs when a child depends on its parent's height while the parent's height depends on its children, and introduces the need for a parent height that does not depend on the child.

### Source excerpt

One of the most perplexing and befuddling things in CSS for me, for many years, was the behaviour of percentage-based heights. Sometimes, seemingly at random, setting height: 100% would have no effect at all. When I finally figured out what was going on, it was like a puzzle piece snapping into place; everything made so much more sense! In this post, I'll share the epiphany I had, and we'll explore some solutions.

## AI's Impact on Front-End Development and the Future of Human Developers

DevFeed: [AI's Impact on Front-End Development and the Future of Human Developers](<https://devfeed.tech/articles/the-post-developer-era-45177.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/blog/the-post-developer-era/>)

Author: Josh W. Comeau

Published: 2025-04-14T13:00:00Z

Content type: opinion

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [Front end](<https://devfeed.tech/topics/frontend.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-tools](<https://devfeed.tech/tags/ai-tools.md>), [developer](<https://devfeed.tech/tags/developer.md>), [development](<https://devfeed.tech/tags/development.md>), [front-end](<https://devfeed.tech/tags/front-end.md>), [front-end-development](<https://devfeed.tech/tags/front-end-development.md>), [gpt](<https://devfeed.tech/tags/gpt.md>), [llms](<https://devfeed.tech/tags/llms.md>)

### AI overview

This opinion article revisits predictions that AI would eliminate front-end development jobs after GPT-4. It argues that AI tools and LLMs are increasingly used by companies but remain guided, edited, and shaped by human developers.

### Source excerpt

When OpenAI released GPT-4 back in March 2023, they kickstarted the AI revolution. The consensus online was that front-end development jobs would be totally eliminated within a year or two.Well, it's been more than two years since then, and I thought it was worth revisiting some of those early predictions, and seeing if we can glean any insights about where things are headed.

## How Josh Comeau Built the Whimsical Animations Course Landing Page

DevFeed: [How Josh Comeau Built the Whimsical Animations Course Landing Page](<https://devfeed.tech/articles/a-million-little-secrets-45178.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/blog/whimsical-animations/>)

Author: Josh W. Comeau

Published: 2025-02-24T11:00:00Z

Content type: article

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [animations](<https://devfeed.tech/topics/animations.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [CSS](<https://devfeed.tech/topics/css.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Canvas](<https://devfeed.tech/topics/canvas.md>), [implementation](<https://devfeed.tech/topics/implementation.md>), [SVG](<https://devfeed.tech/topics/svg.md>), [interactive web design](<https://devfeed.tech/topics/interactive-web-design.md>), [React](<https://devfeed.tech/topics/react.md>)

Tags: [animations](<https://devfeed.tech/tags/animations.md>), [code](<https://devfeed.tech/tags/code.md>), [css](<https://devfeed.tech/tags/css.md>), [effects](<https://devfeed.tech/tags/effects.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [interactive](<https://devfeed.tech/tags/interactive.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [react](<https://devfeed.tech/tags/react.md>)

### AI overview

Josh Comeau describes the implementation details behind the landing page for his Whimsical Animations course. The post discusses techniques for building animations and interactions with CSS, JavaScript, SVG, 2D Canvas, and React integration, including the interactive Chaos Toolbar.

### Source excerpt

I spent the past few weeks packing as many easter eggs as I could into my latest project, and in this blog post, I want to dig into some of the more interesting details! If you're interested in animations/interactions, you'll want to check this one out; I share a bunch of my favourite secrets and tricks. 😄

## Container Queries Unleashed

DevFeed: [Container Queries Unleashed](<https://devfeed.tech/articles/container-queries-unleashed-45192.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/css/container-queries-unleashed/>)

Author: Josh W. Comeau

Published: 2025-01-27T13:15:00Z

Content type: tutorial

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [Responsive Design](<https://devfeed.tech/topics/responsive-design.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>), [Media Queries](<https://devfeed.tech/topics/media-queries.md>), [layout](<https://devfeed.tech/topics/layout.md>)

Tags: [interface-design](<https://devfeed.tech/tags/interface-design.md>), [layout](<https://devfeed.tech/tags/layout.md>), [media-queries](<https://devfeed.tech/tags/media-queries.md>), [responsive-design](<https://devfeed.tech/tags/responsive-design.md>)

### AI overview

This tutorial explains how CSS container queries enable responsive interface layouts based on a component's available space rather than the viewport. It demonstrates a newsletter metadata layout that uses media queries for top-level structure and container queries for adapting the content within each column.

### Source excerpt

Container queries expand the universe of designs that can be implemented, giving us whole new superpowers. Now that container queries are broadly available, I think it's time we start exploring this potential! In this post, I'll share the "killer pattern" I can't stop using in my work, and explore what's possible with this new capability.

## Creating a realistic frosted-glass effect with CSS backdrop-filter

DevFeed: [Creating a realistic frosted-glass effect with CSS backdrop-filter](<https://devfeed.tech/articles/next-level-frosted-glass-with-backdrop-filter-45187.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/css/backdrop-filter/>)

Author: Josh W. Comeau

Published: 2024-12-02T13:15:00Z

Content type: tutorial

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [Document Object Model (DOM)](<https://devfeed.tech/topics/dom.md>), [image editing](<https://devfeed.tech/topics/image-editing.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [css](<https://devfeed.tech/tags/css.md>), [filter](<https://devfeed.tech/tags/filter.md>), [headers](<https://devfeed.tech/tags/headers.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [ui](<https://devfeed.tech/tags/ui.md>)

### AI overview

This tutorial explains how CSS filters and backdrop-filter can create a frosted-glass effect for web interfaces. It also discusses how the blur algorithm considers pixels behind an element and why nearby colorful elements may not affect the result by default.

### Source excerpt

Glassy headers have become a core part of the "slick startup" UI toolkit, but they're all missing that final 10% that really makes it shine. In this tutorial, you'll learn how to create the most realistic lush frosted glass anywhere on the internet.

## A Framework for Evaluating Browser Support

DevFeed: [A Framework for Evaluating Browser Support](<https://devfeed.tech/articles/a-framework-for-evaluating-browser-support-45188.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/css/browser-support/>)

Author: Josh W. Comeau

Published: 2024-11-26T13:15:00Z

Content type: tutorial

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [browser](<https://devfeed.tech/topics/browser.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [web-standards](<https://devfeed.tech/topics/web-standards.md>)

Tags: [blog-post](<https://devfeed.tech/tags/blog-post.md>), [browser](<https://devfeed.tech/tags/browser.md>), [browser-support](<https://devfeed.tech/tags/browser-support.md>), [css](<https://devfeed.tech/tags/css.md>), [modern](<https://devfeed.tech/tags/modern.md>)

### AI overview

A framework for evaluating whether modern CSS features are safe to use based on browser support and how unsupported browsers behave. The article distinguishes enhancements that degrade harmlessly from features that fail less gracefully, and extends the approach to JavaScript and HTML features.

### Source excerpt

Lots of exciting new features have been landing in CSS recently, and it can be tough trying to figure out if they're safe to use or not. We might know that a feature is available for 92% of users, but is that sufficient? Where do we draw the line? In this blog post, I'll share the framework I use for deciding whether or not to use a modern CSS feature

## A Friendly Introduction to Container Queries

DevFeed: [A Friendly Introduction to Container Queries](<https://devfeed.tech/articles/a-friendly-introduction-to-container-queries-45191.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/css/container-queries-introduction/>)

Author: Josh W. Comeau

Published: 2024-11-04T13:15:00Z

Content type: tutorial

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [container](<https://devfeed.tech/topics/container.md>), [CSS](<https://devfeed.tech/topics/css.md>), [Media Queries](<https://devfeed.tech/topics/media-queries.md>), [Responsive Design](<https://devfeed.tech/topics/responsive-design.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [container](<https://devfeed.tech/tags/container.md>), [css](<https://devfeed.tech/tags/css.md>), [developers](<https://devfeed.tech/tags/developers.md>), [media-queries](<https://devfeed.tech/tags/media-queries.md>), [responsive-design](<https://devfeed.tech/tags/responsive-design.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

A tutorial explaining why CSS container queries have seen limited adoption, how they differ from media queries, and how to use them for layouts that adapt to an element's available space rather than the viewport.

### Source excerpt

It's been a couple of years since container queries started landing in browsers... so why isn't anyone using them? It turns out that container queries are kinda tricky; they're not as straightforward as media queries. In this tutorial, we'll break it all down and make sense of them, so that you can start using them in your work.

## How a Blog Was Rebuilt with Next.js, MDX, and React

DevFeed: [How a Blog Was Rebuilt with Next.js, MDX, and React](<https://devfeed.tech/articles/how-i-built-my-blog-45172.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/blog/how-i-built-my-blog-v2/>)

Author: Josh W. Comeau

Published: 2024-09-24T12:15:00Z

Content type: tutorial

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [App](<https://devfeed.tech/topics/app.md>), [MDX](<https://devfeed.tech/topics/mdx.md>), [Markdown](<https://devfeed.tech/topics/markdown.md>), [Next.js](<https://devfeed.tech/topics/next-js.md>), [React](<https://devfeed.tech/topics/react.md>), [Astro](<https://devfeed.tech/topics/astro.md>), [Remix](<https://devfeed.tech/topics/remix.md>)

Tags: [astro](<https://devfeed.tech/tags/astro.md>), [code](<https://devfeed.tech/tags/code.md>), [markdown](<https://devfeed.tech/tags/markdown.md>), [mdx](<https://devfeed.tech/tags/mdx.md>), [next-js](<https://devfeed.tech/tags/next-js.md>), [tech-stack](<https://devfeed.tech/tags/tech-stack.md>)

### AI overview

The author explains how a new version of a complex blog was built, covering its technology stack, migration, and use of MDX with React elements for interactive content. The post also discusses why Next.js was chosen and briefly considers Astro and Remix.

### Source excerpt

I recently launched a brand new version of this blog, and in this post, I share how it's built! We'll examine the tech stack and see how all of the pieces fit together, as well as dig into some of the details to see how they work.

## Practical Uses for the CSS :has() Pseudo-Class

DevFeed: [Practical Uses for the CSS :has() Pseudo-Class](<https://devfeed.tech/articles/the-undeniable-utility-of-css-has-45197.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/css/has/>)

Author: Josh W. Comeau

Published: 2024-09-09T13:15:00Z

Content type: tutorial

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [selectors](<https://devfeed.tech/topics/selectors.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>), [browser](<https://devfeed.tech/topics/browser.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [browsers](<https://devfeed.tech/tags/browsers.md>), [css](<https://devfeed.tech/tags/css.md>), [edge](<https://devfeed.tech/tags/edge.md>), [feature-detection](<https://devfeed.tech/tags/feature-detection.md>), [firefox](<https://devfeed.tech/tags/firefox.md>)

### AI overview

A practical tutorial on the CSS :has() pseudo-class, covering how it enables styling based on child elements, real-world use cases, browser support, and fallback strategies.

### Source excerpt

Of all the latest and greatest CSS features, the ":has" pseudo-class wasn't exactly at the top of my wishlist. Once I started using it, however, I kept discovering incredible things I could do with it. It's now become a core part of my toolkit! In this blog post, I'll show you some practical real-world problems I solved using ":has", as well as some wild experiments that blew my mind!

## Promises From The Ground Up

DevFeed: [Promises From The Ground Up](<https://devfeed.tech/articles/promises-from-the-ground-up-45216.md>)

Original publisher: [Read original article](<https://www.joshwcomeau.com/javascript/promises/>)

Author: Josh W. Comeau

Published: 2024-06-03T13:30:00Z

Content type: tutorial

Language: en

Sources: [Josh Comeau's blog](<https://devfeed.tech/sources/josh-comeau-s-blog.md>)

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Web APIs](<https://devfeed.tech/topics/web-apis.md>)

Tags: [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [code](<https://devfeed.tech/tags/code.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [web-apis](<https://devfeed.tech/tags/web-apis.md>)

### AI overview

A tutorial that builds an intuition for JavaScript Promises by explaining JavaScript's single-threaded execution model, its limitations, and the role of asynchronous code and modern web APIs.

### Source excerpt

The "Promises" API is a surprisingly tricky part of modern JavaScript. Without the right context, it doesn't make much sense at all! In this tutorial, you'll build an intuition for how Promises work by getting a deeper understanding of JavaScript and its limitations.

[Next page](<https://devfeed.tech/sources/josh-comeau-s-blog.md?cursor=WyIyMDI0LTA2LTAzVDEzOjMwOjAwKzAwOjAwIiwgImZkMDJmNDg4LWIzMmYtNDBhNi04YjBmLTU5ZmZjZDBkMGMwMSJd>)