Home/Geoff Graham
Author
GGGeoff Graham

Geoff Graham

313 articles by Geoff Graham.

Engineering — Quick Hit #44

Quick Hit #44

The CSSWG just released the first public working draft of the specifications for adding gap decorations — you know, like drawing lines between boxes in

GGGeoff GrahamGeoff Graham·April 21, 2025Engineering
Frontend — CSS-Tricks Chronicles XLIII

CSS-Tricks Chronicles XLIII

This CSS-Tricks update highlights significant progress in the Almanac, recent podcast appearances, a new CSS counters guide, and the addition of several new authors contributing valuable content.

GGGeoff GrahamGeoff Graham·April 11, 2025Frontend
Frontend — CSS Carousels

CSS Carousels

Chrome has prototyped these features and released them in Chrome 135. Adam Argyle has a wonderful explainer over at the Chrome Developer blog. Kevin Powell has an equally wonderful video where he follows the explainer. This post is me taking notes from them.

GGGeoff GrahamGeoff Graham·April 9, 2025Frontend
Frontend — SMIL on?

SMIL on?

Well, it turns out that SVG's built-in animation features were never deprecated as planned. Sure, CSS and JavaScript are more than capable of carrying the load, but it's good to know that SMIL is not dead in the water as previously thought, and is actually well-supported.

GGGeoff GrahamGeoff Graham·April 2, 2025Frontend
Frontend — Quick Hit #42

Quick Hit #42

Masonry in CSS: There’s a new, third option in the debate that combines Flexbox and CSS Grid features into a new system of “Item Flow” properties. The WebKit

GGGeoff GrahamGeoff Graham·March 29, 2025Frontend
Frontend — Quick Hit #40

Quick Hit #40

Smashing Magazine is hosting a free online event discussing modern CSS goodness with the likes of Adam Argyle, Julia Miocene, and Miriam Suzanne this — no

GGGeoff GrahamGeoff Graham·March 18, 2025Frontend
Engineering — Web Components Demystified

Web Components Demystified

Scott Jehl released a course called Web Components Demystified. This is my full set of notes from Scott's course. You'll still want to take the course on your own, and I encourage you to because Scott is an excellent teacher who makes all of this stuff extremely accessible, even to noobs like me.

GGGeoff GrahamGeoff Graham·March 14, 2025Engineering
Design & UX — Smashing Meets Accessibility

Smashing Meets Accessibility

The videos from Smashing Magazine's recent event on accessibility were just posted the other day. I was invited to host the panel discussion with the speakers, including a couple of personal heroes of mine, Stéphanie Walter and Sarah Fossheim. But I was just as stoked to meet Kardo Ayoub who shared his deeply personal story as a designer with a major visual impairment.

GGGeoff GrahamGeoff Graham·March 10, 2025Design & UX
Frontend — Maybe don't use custom properties in shorthand properties

Maybe don't use custom properties in shorthand properties

This easily qualifies as a "gotcha" in CSS and is a good reminder that the cascade doesn't know everything all at the same time. If a custom property is invalid, the cascade won't ignore it, and it gets evaluated, which invalidates the declaration.

GGGeoff GrahamGeoff Graham·March 6, 2025Frontend
Engineering — Using & Styling the Details Element

Using & Styling the Details Element

Now that we're 5+ years into the details element, we know more about it than ever before. I thought I'd round that information up so it's in one place I can reference in the future without having to search the site — and other sites — to find it.

GGGeoff GrahamGeoff Graham·February 26, 2025Engineering
Performance — Toe Dipping Into View Transitions

Toe Dipping Into View Transitions

The View Transitions API is more a set of features than it is about any one particular thing. And it gets complex fast. But in this post, we’ll cover a couple ways to dip your toes into the waters without having to dive in head-first.

GGGeoff GrahamGeoff Graham·February 21, 2025Performance
Frontend — Scroll Driven Animations Notebook

Scroll Driven Animations Notebook

Adam's such a mad scientist with CSS. He's been putting together a series of "notebooks" that make it easy for him to demo code. He's got one for gradient

GGGeoff GrahamGeoff Graham·February 13, 2025Frontend
Frontend — Quick Hit #35

Quick Hit #35

The speaker list for CSS Day 2025 is lookin' mighty fine, tell you what. Event is scheduled June 5-6 and tickets are on sale.

GGGeoff GrahamGeoff Graham·February 12, 2025Frontend
Engineering — Make Any File a Template Using This Hidden macOS Tool

Make Any File a Template Using This Hidden macOS Tool

Stationery Pad is a handy way to nix a step in your workflow if you regularly use document templates on your Mac. The long-standing Finder feature essentially tells a file’s parent application to open a copy of it by default, ensuring that the original file remains unedited.

GGGeoff GrahamGeoff Graham·February 10, 2025Engineering
Frontend — Container query units: cqi and cqb

Container query units: cqi and cqb

A little gem from Kevin Powell's "HTML & CSS Tip of the Week" website, reminding us that using container queries opens up container query units for sizing things based on the size of the queried container.

GGGeoff GrahamGeoff Graham·February 6, 2025Frontend
Career & Teams — Chrome 133 Goodies

Chrome 133 Goodies

Did you see the release notes for Chrome 133? It's currently in beta, but the Chrome team has been publishing a slew of new articles with pretty incredible demos that are tough to ignore. I figured I'd round those up in one place.

GGGeoff GrahamGeoff Graham·January 31, 2025Career & Teams
Engineering — Creating a "Starred" Feed

Creating a "Starred" Feed

Chris wrote about "Likes" pages a long while back. The idea is rather simple: "Like" an item in your RSS reader and display it in a feed of other liked items.

GGGeoff GrahamGeoff Graham·January 21, 2025Engineering
Engineering — Quick Hit #34

Quick Hit #34

Great little reminder from Kevin Powell that the :empty pseudo-class considers comments as empty content, meaning a div with nothing but a <!-- comment

GGGeoff GrahamGeoff Graham·January 13, 2025Engineering
Performance — Tight Mode: Why Browsers Produce Different Performance Results — Smashing Magazine

Tight Mode: Why Browsers Produce Different Performance Results — Smashing Magazine

We know that browsers do all sorts of different things under the hood. One of those things is the way they not only *fetch* resources like images and scripts from the server but how they [prioritize those resources](https://www.debugbear.com/blog/request-priorities?utm_campaign=sm-7). Chrome and Safari have implemented a “Tight Mode” that constrains which resources are loaded and in what order, bu

GGGeoff GrahamGeoff Graham·January 9, 2025Performance
Engineering — Thank You (2024 Edition)

Thank You (2024 Edition)

I'm more thankful this time around because, last year, I didn't even get to write this post. But now that I'm back, writing this feels so, so, so good. There's a lot more gusto going into my writing when I say: thank you so very much! Let's tie a bow on this year and round up what happened around here in 2024.

GGGeoff GrahamGeoff Graham·December 30, 2024Engineering
Frontend — What ELSE is on your CSS wishlist?

What ELSE is on your CSS wishlist?

What else do we want or need CSS to do? Chris kept a CSS wishlist, going back as far as 2013 and following back up on it in 2019. We all have things we'd like to see CSS do and we always will no matter how many sparkly new features we get. We'll round things up and put a list together — so let us know!

GGGeoff GrahamGeoff Graham·December 17, 2024Frontend
Frontend — Quick Hit #32

Quick Hit #32

One day I'd love to publish a note in one of the CSS specs that's like this one I found for interpolate-size: NOTE: If we had a time machine, this property

GGGeoff GrahamGeoff Graham·December 13, 2024Frontend
Architecture — Quick Hit #30

Quick Hit #30

A big THANK YOU to Lea Verou for all the years of work in the Technical Architecture Group! The Web is better (and so are we) because of you.

GGGeoff GrahamGeoff Graham·December 11, 2024Architecture
Design & UX — Smashing Meets Product Design

Smashing Meets Product Design

I had the pleasure of hosting a recent Smashing Magazine workshop on product design, subbing for Vitaly Friedman who usually runs these things.

GGGeoff GrahamGeoff Graham·December 10, 2024Design & UX
Frontend — CSS Wrapped 2024

CSS Wrapped 2024

Join the Chrome DevRel team and a skateboarding Chrome Dino on a journey through the latest CSS launched for Chrome and the web platform in 2024,

GGGeoff GrahamGeoff Graham·December 6, 2024Frontend
Engineering — The Law of Diminishing Returns

The Law of Diminishing Returns

Striking the right balance can be tough. We don’t want cool mama bear's porridge or hot papa's bear porridge, but something right in the middle, like baby bear’s porridge.

GGGeoff GrahamGeoff Graham·December 4, 2024Engineering
Engineering — Alt Text: Not Always Needed

Alt Text: Not Always Needed

Most images require description for clarity, there are exceptions. This set of notes looks at different situations and contexts where alt text may not be needed and what to do in those cases.

GGGeoff GrahamGeoff Graham·November 25, 2024Engineering
Frontend — Complete CSS Course

Complete CSS Course

Do you subscribe to Piccalilli? You should. If you're reading that name for the first time, that would be none other than Andy Bell running the ship and he's reimagined the site from the ground-up after coming out of hibernation this year. You're likely familiar with Andy's great writing here on CSS-Tricks.

GGGeoff GrahamGeoff Graham·November 19, 2024Frontend
Frontend — Anchoreum: A New Game for Learning Anchor Positioning

Anchoreum: A New Game for Learning Anchor Positioning

You've played Flexbox Froggy before, right? Or maybe Grid Garden? They're both absolute musts for learning the basics of modern CSS layout using Flexbox and CSS Grid. Thomas Park made those and he's back with another game: Anchoreum.

GGGeoff GrahamGeoff Graham·November 12, 2024Frontend
Engineering — Tim Brown: Flexible Typesetting is now yours, for free

Tim Brown: Flexible Typesetting is now yours, for free

Another title from A Book Apart has been re-released for free. The latest? Tim Brown's Flexible Typesetting. I may not be the utmost expert on typography and its best practices but I do remember reading this book (it's still on the shelf next to me!) thinking maybe, just maybe, I might be able to hold a conversation about it with Robin when I finished it.

GGGeoff GrahamGeoff Graham·November 11, 2024Engineering
Frontend — State of CSS 2024 Results

State of CSS 2024 Results

The results from this year's survey are fairly fresh off the presses. We took a little time to sit with them and jot down some things we noticed and found interesting.

GGGeoff GrahamGeoff Graham·October 30, 2024Frontend
Frontend — Left Half and Right Half Layout - Many Different Ways

Left Half and Right Half Layout - Many Different Ways

Imagine a scenario where you need to split a layout in half. Basically two equal height columns are needed inside of a container. Each side takes up exactly half of the container. Like many things in CSS, there are a number of ways to go about this.

GGGeoff GrahamGeoff Graham·October 25, 2024Frontend
Frontend — You can use text-wrap: balance; on icons

You can use text-wrap: balance; on icons

The CSS text-wrap property is (rightfully) widely assumed to be used strictly for text elements. But Terrence Eden posted an article on his blog that shows how it can also be used to balance the way other types of elements wrap, including icons.

GGGeoff GrahamGeoff Graham·October 24, 2024Frontend
Frontend — Clamp it! VS Code extension

Clamp it! VS Code extension

There's a lot of math behind fluid typography. CSS does make the math a lot easier these days, but even if you're comfortable with that, writing the full

GGGeoff GrahamGeoff Graham·October 23, 2024Frontend
Engineering — Quick Hit #27

Quick Hit #27

It really feels like we've hit the tipping point where WordPress goes from open-source to a private project when contributors are booted simply for disagreeing.

GGGeoff GrahamGeoff Graham·October 17, 2024Engineering
Engineering — Smashing Hour With Heydon Pickering

Smashing Hour With Heydon Pickering

I sat down with Heydon Pickering in the most recent episode of the Smashing Hour. Full transparency: I was nervous as heck. I've admired Heydon's work for

GGGeoff GrahamGeoff Graham·October 8, 2024Engineering
Frontend — CSS Masonry & CSS Grid

CSS Masonry & CSS Grid

An approach for creating masonry layouts in vanilla CSS is one of those "holy grail" aspirations. I actually tend to plop masonry and the classic "Holy Grail"

GGGeoff GrahamGeoff Graham·September 30, 2024Frontend
Distributed — Aggregating my distributed self

Aggregating my distributed self

Miriam Suzanne's in the middle of a redesign of her personal website. It began in August 2022. She's made an entire series out of the work that's worth your

GGGeoff GrahamGeoff Graham·September 27, 2024Distributed
Frontend — Quick Hit #23

Quick Hit #23

Chrome is experimenting with a CSS feature for establishing a reading order so that elements can be read in a different order than they are displayed. Some

GGGeoff GrahamGeoff Graham·September 27, 2024Frontend
Engineering — BCD Watch

BCD Watch

A new tool from Eric Meyer, Brian Kardell, and Stephanie Stimac backed with Igalia's support. Brian announced it on his blog, as did Eric, describing it like

GGGeoff GrahamGeoff Graham·September 26, 2024Engineering
Frontend — Quick Hit #22

Quick Hit #22

Adam's got this idea for a CSS syntax based on functional notations. Some "hate" it (Sass baggage) but we're already sorta moving that way. Perhaps shorthand

GGGeoff GrahamGeoff Graham·September 24, 2024Frontend
Frontend — Color Mixing With Animation Composition

Color Mixing With Animation Composition

Mixing colors in CSS is pretty much a solved deal, thanks to the more recent color-mix() function as it gains support. Pass in two color values — any two

GGGeoff GrahamGeoff Graham·September 24, 2024Frontend