Amir Maghami | Blogs

Blogs

A collection of my thoughts, tutorials, and insights on web development.

What’s !important #3: Popover Context Menus, @scope, New Web Platform Features, and More

What’s !important #3: Popover Context Menus, @scope, New Web Platform Features, and More

The developer community hasn’t wasted any time kicking off 2026 with some really great articles, demos, and insights. Firefox 147 and Chrome 144 also shipped, and while they’re not jam-packed with features, the releases are still pretty exciting for what’s normally a slow time of year, so without further ado, here’s what’s important from the last couple of weeks (or should I say the first couple of weeks, of 2026?)…

Read More
Playing With CodePen slideVars

Playing With CodePen slideVars

Super cool new CodePen feature alert! You've probably seen a bunch of "interactive" demos that let you changed values on the fly from a UI panel embedded directly in the demo.

Read More
Postcard From Web Directions Dev Summit, 2025

Postcard From Web Directions Dev Summit, 2025

Lee Meyer recently spoke at Web Directions Summit 2025. This is his experience, not only speaking at the event, but experiencing the event through the lens of anxiety and imposter syndrome.

Read More
Future CSS: :drag (and Maybe ::dragged-image?)

Future CSS: :drag (and Maybe ::dragged-image?)

Have you ever struggled to style an element while it's being dragged? Sunkanmi explains some ways it could become easier in the future.

Read More
What’s !important #2: Conditional View Transitions, CSS/SVG Text Effects, the Best of CSS Bluesky, and More

What’s !important #2: Conditional View Transitions, CSS/SVG Text Effects, the Best of CSS Bluesky, and More

2026 is almost upon us. I know we’re all itching to see the clock strike midnight (cue The Final Countdown by Europe), but not without recapping the best CSS-related things that happened over the last two weeks!

Read More
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.

Read More
text-decoration-inset is Like Padding for Text Decorations

text-decoration-inset is Like Padding for Text Decorations

The text-decoration-inset property solves a problem that we’ve had since the beginning of the web, which is that text decorations such as underlines extend beyond the first and last characters, resulting in vertical misalignment.

Read More
Masonry Layout is Now grid-lanes

Masonry Layout is Now grid-lanes

It's settled! A new CSS display property keyword called grid-lanes will trigger a masonry layout mode.

Read More
Responsive List of Avatars Using Modern CSS (Part 2)

Responsive List of Avatars Using Modern CSS (Part 2)

In this article, we follow up the work we did to create responsive rows of circular images in a previous article by arranging the images around a circle with a clean hover effect.

Read More