Modern CSS is awesome

New site redesign, a CSS snippet that elegantly vertically aligns text, plus some cool stuff I found around the web.

Hiya!

You might have noticed some changes around here - I'm doing a little rebrand.

Introducing One More Line.

Every week, I'll be sharing insights and tips that have meaningfully improved how I code, design, and write - one line at a time.

Over the past 3 months, I've had fun scribbling down thoughts on writing and design. I'm also itching to write about coding.

In this next iteration of my newsletter, I want it to be more helpful for devs as well as hopefully entertaining.

Huge thank you for supporting this newsletter so far. Especially, if you've been reading since the early days 🙇🏻.

Anyway, onto this weeks topic!

You may have already seen it, but this week I shipped my new site redesign!

Not going to lie, it was nerve wracking merging the final PR. There's always some self doubt, "is it going to be good enough?". But the response so far has been incredibly positive and kind.

Along with the redesign, I also published a blog post detailing the redesign process.

You had a sneak peek of the design process last week. But one thing I didn't highlight was this small CSS snippet.

display: grid;
place-items: center;

These two lines blow my mind - they horizontally and vertically center text. Here's a small Codepen demo to see it in action. I also use it in my hero text section.

I've always remembered vertically aligning text to be a pain in the ass. This is a neat, elegant solution that is now in my top three favourite CSS snippets.

Cool stuff around the web

Emma Goto wrote about a 4 day work week. It's confirmed my thoughts that 4 day work weeks are superior. I just need to figure out how to convince my manager.

Amy Hupe's post on writing better error message is very good. Writing actionable, clear error messages can be the difference between winning or losing trust from the user.

The Story of Name Sans has given me an appreciation of how much work goes into designing a typeface. Spoiler alert: it's a lot.

Thanks for reading this weeks newsletter. If you have any thoughts or questions, feel free to reach out by replying to this email or send me a DM on Bluesky.

Catch you next week!

Jono