---
title: I transformed my personal site into a magazine-style layout
url: "https://aaronfrancis.com/videos/i-transformed-my-personal-site-into-a-magazine-style-layout"
path: "/videos/i-transformed-my-personal-site-into-a-magazine-style-layout"
type: video
author: Aaron Francis
published: 2025-07-16
keywords: [magazine layout, css shape-outside, text wrapping, floats, tailwind, personal site design, image wrapping, css layout, web design tutorial]
youtube_url: "https://www.youtube.com/watch?v=_7K7nTMHOmM"
site_index: "/llms.txt"
keyword_index: "/llms/keywords.txt"
---

# I transformed my personal site into a magazine-style layout

## Transcript

**Aaron Francis:** I'm redesigning my personal website. I know. Developers are always doing that, but I only do this once every several years, and this is what we're gonna be building today. Look at this. Look at this beautiful outline. Look at that. It follows the shape of this picture, and it looks super awesome. And then over on this side, it does the same thing. Even if we shrink it down a little bit, look at that.

**Aaron Francis:** It's wrapping and then, boop, it goes away when we run out of space. But this one still wraps all the way around that image and then floats down there if we need to. When I was looking for design inspiration, I started looking on Pinterest for newspaper and magazines, and I came across this, and I thought, "Oh, that's pretty cool.

**Aaron Francis:** I really like that. Like, look at that." So I went down the rabbit hole to figure it out. And what I found is a CSS property that I did not know about called shape-outside. We're going to define a polygon with percentage-based measurements instead of pixel-based measurements. For shape-outside, you must float. So we're gonna float soccer to the left, and we're gonna float the stage picture to the right, and then hopefully, the content will end up in the middle.

**Aaron Francis:** We floated both images out, and now the content ends up in the middle, but you'll see it does have a straight edge, and that is because if we put a, uh, if we put a border on this guy, you'll see that is the box. That is the margin. That is the outside shape. That's the margin box, as they call it. So that's a problem. That's not what we're after.

**Aaron Francis:** What I do want is shape-outside. There we go. Look at that. So you'll see we still have the image border, so we haven't actually changed the shape of the image, but what we're communicating to, uh, the browser is, "Hey, use... Instead of using that hard right edge, use this polygon that I passed in." And look at that.

**Aaron Francis:** Now, we have this nice little edge going on, and let's remove the borders 'cause that was for demonstration, and we don't need that anymore. That looks pretty good.

---

## Related on aaronfrancis.com

- [Level up your design with this CSS property](/videos/level-up-your-design-with-this-css-property) *(Video · 2025-07-16 · shared: magazine layout, floats, text wrapping)*
- [I haven’t opened my IDE in two months](/newsletter/i-havent-opened-my-ide-in-two-months) *(Newsletter · 2026-01-10 · shared: tailwind)*
- [Should You Learn Tailwind Before CSS? w/ Bree Hall](/podcast/should-you-learn-tailwind-before-css-w-bree-hall-6d034376) *(Podcast · 2025-05-22 · shared: tailwind)*
- [Eye on the Future](/podcast/eye-on-the-future-2fb94e0e) *(Podcast · 2025-04-08 · shared: tailwind)*
- [Distribution & Taste w/ Adam Wathan](/podcast/distribution-taste-w-adam-wathan-9870b706) *(Podcast · 2025-04-01 · shared: tailwind)*

## Search aaronfrancis.com (2-Hop Static Keyword Index)

Pick the alphabetical shard matching any topic to find exact pages across all articles, newsletters, videos, talks, and podcast transcripts (every shard is < 40 KB):
[A-B](/llms/keywords/a-b.txt) · [C](/llms/keywords/c.txt) · [D-E](/llms/keywords/d-e.txt) · [F-G](/llms/keywords/f-g.txt) · [H-J](/llms/keywords/h-j.txt) · [K-L](/llms/keywords/k-l.txt) · [M-N](/llms/keywords/m-n.txt) · [O-P](/llms/keywords/o-p.txt) · [Q-R](/llms/keywords/q-r.txt) · [S](/llms/keywords/s.txt) · [T-Z](/llms/keywords/t-z.txt) · [Directory](/llms/keywords.txt) · [Site Map](/llms.txt)

Shards for this page's topics: `magazine layout` ([M-N](/llms/keywords/m-n.txt)), `css shape-outside` ([C](/llms/keywords/c.txt)), `text wrapping` ([T-Z](/llms/keywords/t-z.txt)), `floats` ([F-G](/llms/keywords/f-g.txt)).

## About Aaron Francis (Current Context)

Aaron Francis is VP of Marketing and Community at [Laravel](https://laravel.com), founder of [Try Hard Studios](https://tryhardstudios.com), creator of [Solo](https://soloterm.com), co-host of [Mostly Technical](/podcast), and author of [Mastering Postgres](/courses), [High Performance SQLite](/courses), [MySQL for Developers](/courses), and [Screencasting.com](/courses). Full bio: [/about](/about) · Current focus: [/now](/now).
