Home/Geoff Graham
Author
GGGeoff Graham

Geoff Graham

170 articles by Geoff Graham.

Frontend — Multiple Anchors

Multiple Anchors

Only Chris, right? You'll want to view this in a Chromium browser:

GGGeoff GrahamGeoff Graham·September 16, 2024Frontend
Engineering — What’s Old is New

What’s Old is New

I collect a bunch of links in a bookmarks folder. These are things I fully intend to read, and I do — eventually. It's a good thing bookmarks are digital,

GGGeoff GrahamGeoff Graham·September 12, 2024Engineering
Design & UX — Sanding UI

Sanding UI

Jim hit a snag while working on a form. Placing labels next to inputs is trivial with flexbox, sure, but what happened in Jim's case was a bit of

GGGeoff GrahamGeoff Graham·September 10, 2024Design & UX
Engineering — Another Stab at Truncated Text

Another Stab at Truncated Text

Seems like we're always talking about clipping text around here. All it takes is a little browsing to spot a bunch of things we've already explored.

GGGeoff GrahamGeoff Graham·September 3, 2024Engineering
Frontend — The “Other” C in CSS

The “Other” C in CSS

I think it's worth listening to anything Sara Soueidan has to say. That's especially true if she's speaking at an event for the first time in four years,

GGGeoff GrahamGeoff Graham·August 28, 2024Frontend
Engineering — Introducing <skelly-wc>

Introducing <skelly-wc>

I created a little library at work to make those “skeleton screens” that I’m not sure anyone likes. We named it skellyCSS because… skeletons and

GGGeoff GrahamGeoff Graham·August 28, 2024Engineering
Frontend — Callbacks on Web Components?

Callbacks on Web Components?

A gem from Chris Ferdinandi that details how to use custom events to hook into Web Components. More importantly, Chris dutifully explains why custom events

GGGeoff GrahamGeoff Graham·August 22, 2024Frontend
Engineering — CSSWG Minutes Telecon (2024-08-14)

CSSWG Minutes Telecon (2024-08-14)

I was just going over the latest CSSWG minutes (you can subscribe to them at W3C.org) and came across a few interesting nuggets I wanted to jot down for

GGGeoff GrahamGeoff Graham·August 16, 2024Engineering
Frontend — CSS Functions and Mixins Module Notes

CSS Functions and Mixins Module Notes

Most days, I'm writing vanilla CSS. Thanks to CSS variables and nesting, I have fewer reasons to reach for Sass or any other preprocessor. The times I reach

GGGeoff GrahamGeoff Graham·July 31, 2024Frontend
Frontend — "If" CSS Gets Inline Conditionals

"If" CSS Gets Inline Conditionals

A few sirens went off a couple of weeks ago when the CSS Working Group (CSSWG) resolved to add an if() conditional to the CSS Values Module Level 5

GGGeoff GrahamGeoff Graham·July 9, 2024Frontend
Engineering — Transitioning to Auto Height

Transitioning to Auto Height

I know this is something Chris has wanted forever, so it's no surprise he's already got a fantastic write-up just a day after the news broke. In fact, I first

GGGeoff GrahamGeoff Graham·June 28, 2024Engineering
Engineering — Poppin' In

Poppin' In

Oh, hey there! It’s been a hot minute, hasn’t it? Thought I’d pop in and say hello while we get to know the Popover API a bit.

GGGeoff GrahamGeoff Graham·June 26, 2024Engineering
Frontend — CSS Length Units

CSS Length Units

A comprehensive guide covering nine types of lengths that CSS uses to size elements in terms of dimensions, space, time, and even sound.

GGGeoff GrahamGeoff Graham·June 3, 2024Frontend
Frontend — In Praise Of The Basics — Smashing Magazine

In Praise Of The Basics — Smashing Magazine

What does it mean to learn the “basics”, or fundamentals, of front-end web development? Is starting with HTML and CSS still the best entry point to learn how to make websites and apps when we have a seemingly endless supply of frameworks? Geoff Graham thinks so and discusses why you might consider going “back to basics” to start or move forward in your career.

GGGeoff GrahamGeoff Graham·May 30, 2024Frontend
Performance — A Few Ways CSS Is Easier To Write In 2023 — Smashing Magazine

A Few Ways CSS Is Easier To Write In 2023 — Smashing Magazine

We’re living in somewhat of a CSS renaissance with new features, techniques, experiments, and ideas coming at us to an extent we haven’t seen since “CSS3”. It’s easy to feel overwhelmed when your profession seems to be advancing at breakneck speed, but Geoff Graham considers the ways “modern” CSS in 2023 has actually made CSS “easier” to write.

GGGeoff GrahamGeoff Graham·November 24, 2023Performance
Performance — The Fight For The Main Thread — Smashing Magazine

The Fight For The Main Thread — Smashing Magazine

Having access to a free reporting tool like Lighthouse in DevTools is a great start for diagnosing performance issues by identifying bottlenecks on the main thread. Even better are paid tools like [SpeedCurve](https://www.speedcurve.com/?utm_source=smashingmag&utm_medium=magazine&utm_campaign=sm7_2023&utm_id=sm7_2023&utm_term=sm7_2023) to dig deeper into the data for more targeted insights and to

GGGeoff GrahamGeoff Graham·October 24, 2023Performance
Engineering — A Roundup Of WCAG 2.2 Explainers — Smashing Magazine

A Roundup Of WCAG 2.2 Explainers — Smashing Magazine

WCAG 2.2 officially became a “W3C Recommended” web standard on October 5, 2023, and with it, new success criteria and changes to existing guidelines for accessible user experiences. What are the changes, and how can you conform to them? This roundup provides links to WCAG 2.2 explainers that have been published or updated since the release.

GGGeoff GrahamGeoff Graham·October 20, 2023Engineering
Performance — Running A Page Speed Test: Monitoring vs. Measuring — Smashing Magazine

Running A Page Speed Test: Monitoring vs. Measuring — Smashing Magazine

What does your performance “stack” look like? There are all kinds of tools available for measuring page speed, but what data and assumptions do they use to measure performance? And speaking of *measuring* performance, there’s quite a difference between that and *monitoring* performance. Let’s dig in!

GGGeoff GrahamGeoff Graham·August 10, 2023Performance
Design & UX — Behind The Curtains Of Wikipedia Redesign — Smashing Magazine

Behind The Curtains Of Wikipedia Redesign — Smashing Magazine

The Wikipedia team shipped a redesign of the ubiquitous and one of the [most visited websites](https://en.wikipedia.org/wiki/List_of_most_visited_websites) on the web. Alex Hollender and Jon Robson led the work and generously discussed the effort with us in a thorough, wide-ranging interview that covers the design, development, and processes that went into the project.

GGGeoff GrahamGeoff Graham·June 26, 2023Design & UX
Frontend — AR, VR, and a Model for 3D in HTML

AR, VR, and a Model for 3D in HTML

Tucked down somewhere in the Safari Technology Preview 161 release notes is a seemingly innocous line about support for a new HTML element and attribute:

GGGeoff GrahamGeoff Graham·January 27, 2023Frontend
Frontend — :has is an unforgiving selector

:has is an unforgiving selector

A little thing happened on the way to publishing the CSS :has() selector to the ol' Almanac. I had originally described :has() as a "forgiving" selector, the

GGGeoff GrahamGeoff Graham·January 11, 2023Frontend
Frontend — Some Links About CSS Gradients

Some Links About CSS Gradients

Every once in a while, the blogging zeitgiest seems to coalesce around a certain topic and it's like the saved articles in my bookmarks folder are having a

GGGeoff GrahamGeoff Graham·November 2, 2022Frontend
Frontend — State of CSS 2022 Survey Now Open

State of CSS 2022 Survey Now Open

The State of CSS survey recently opened up. Last year, the survey confirmed everyone's assumptions that TailwindCSS is super popular and CSS variables are

GGGeoff GrahamGeoff Graham·October 4, 2022Frontend
Engineering — More Details on `details`

More Details on `details`

A lot of chatter around the ol' <details> and <summary> elements lately! I saw Lea Verou recently tweet an observation about the element's display

GGGeoff GrahamGeoff Graham·September 15, 2022Engineering
Systems — WebKit Features in Safari 16.0

WebKit Features in Safari 16.0

Whew boy, Safari 16 is officially out in the wild and it packs in a bunch of features, some new and exciting (Subgrid! Container Queries! Font Palettes!) and

GGGeoff GrahamGeoff Graham·September 13, 2022Systems
Frontend — Recreating MDN's Truncated Text Effect

Recreating MDN's Truncated Text Effect

It's no secret that MDN rolled out a new design back in March. It's gorgeous! And there are some sweet CSS-y gems in it that are fun to look at. One of those

GGGeoff GrahamGeoff Graham·July 28, 2022Frontend
Frontend — In Praise of Shadows

In Praise of Shadows

Our dear friend Robin has a new essay called In Praise of Shadows. Now, before you hop over there looking for nuggets on CSS box shadows, text shadows, and

GGGeoff GrahamGeoff Graham·July 12, 2022Frontend