Home/Geoff Graham
Author
GGGeoff Graham

Geoff Graham

313 articles by Geoff Graham.

Frontend — Quick Hit #21

Quick Hit #21

Seeing a lot more headlines decrying JavaScript and pumping up PHP. Always interesting to see which direction the front-end zeitgeist is leaning.

GGGeoff GrahamGeoff Graham·September 20, 2024Frontend
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 — Smashing Hour With Lynn Fisher

Smashing Hour With Lynn Fisher

I'm a big Lynn Fisher fan. You probably are, too, if you're reading this. Or maybe you're reading her name for the first time, in which case you're in for a

GGGeoff GrahamGeoff Graham·September 16, 2024Engineering
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
Performance — Quick Hit #18

Quick Hit #18

PSA: Today's the day that Google's performance tools officially stops supporting the First Input Delay (FID) metric that was replaced by Interaction to Next

GGGeoff GrahamGeoff Graham·September 10, 2024Performance
Frontend — Quick Hit #16

Quick Hit #16

"Never, ever hire for JavaScript framework skills. Instead, interview and hire only for fundamentals like web standards, accessibility, modern CSS, semantic

GGGeoff GrahamGeoff Graham·September 5, 2024Frontend
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 — Paragraphs

Paragraphs

I sure do love little reminders about HTML semantics, particularly semantics that are tougher to commit to memory. Scott has a great one, beginning with this

GGGeoff GrahamGeoff Graham·August 30, 2024Frontend
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 — Quick Hit #13

Quick Hit #13

Happy birthday, Chris Coyier — and thank you for CSS-Tricks as well as everything you do at CodePen, ShopTalk, Boost, and even your personal blog!

GGGeoff GrahamGeoff Graham·August 26, 2024Frontend
Engineering — Quick Hit #12

Quick Hit #12

Giant kudos to Scott Jehl on releasing his new Web Components De-Mystified online course! Eight full hours of training from one of the best in the business.

GGGeoff GrahamGeoff Graham·August 23, 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
Engineering — font-size Limbo

font-size Limbo

You might recall that Alvaro suggests bumping up font-size to 1.25rem from the default user agent size of 16px. Sebastian Laube pokes at that:

GGGeoff GrahamGeoff Graham·August 13, 2024Engineering
Frontend — CSS Chronicles XLII

CSS Chronicles XLII

Remember these? Chris would write a post now and then to chronicle things happening around the ol' CSS-Tricks site. It's only been 969 days since the last

GGGeoff GrahamGeoff Graham·August 9, 2024Frontend
Frontend — It’s Time To Talk About “CSS5”

It’s Time To Talk About “CSS5”

Ever search for CSS info and run into some article — perhaps even one or a dozen on this site — that looks promising until you realize it was published when

GGGeoff GrahamGeoff Graham·August 9, 2024Frontend
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
Engineering — Smashing Hour With Dave Rupert

Smashing Hour With Dave Rupert

Smashing Magazine invited me to sit down for a one-on-one with "Uncle" Dave Rupert to discuss web components, yes, but also check in on Dave's new Microsoft

GGGeoff GrahamGeoff Graham·July 30, 2024Engineering
Frontend — CSS Selectors

CSS Selectors

A complete guide covering all of the various methods we have to select elements in CSS and how to use them for applying styles.

GGGeoff GrahamGeoff Graham·July 15, 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 Container Queries

CSS Container Queries

The main idea of CSS Container Queries is to register an element as a “container” and apply styles to other elements when the container element meets certain conditions.

GGGeoff GrahamGeoff Graham·June 10, 2024Frontend
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