Skip to content

Commit 2b9f807

Browse files
committed
Add new meta
1 parent 94d2d63 commit 2b9f807

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

_posts/2011-01-29-create-a-centred-horizontal-navigation.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,14 @@ categories:
1010
- Web Development
1111
tag:
1212
- CSS
13+
meta: "2025 refresh: build a perfectly centred horizontal nav with just two Flexbox rules—`display:flex` and `justify-content:center`. Demo included!"
1314
---
1415

1516
<p class="c-highlight">Since originally penning this article in 2011, I have
1617
fully transitioned myself away from CSS and heavily into <a
1718
href="/consultancy/">web performance consultancy</a>. You can <a
1819
href="/contact/">hire me</a> for that now!</p>
1920

20-
{% include promo.html %}
21-
2221
This article was originally written in 2011 and used `text-align`ment and
2322
`display: inline;` to manipulate lists as text-level, inline elements. However,
2423
in 2025, I completely rewrote it to utilise Flexbox: the much more suitable
@@ -54,6 +53,8 @@ a great example of just how powerful CSS has gotten in the last decade.
5453
</ul>
5554
```
5655

56+
{% include promo.html %}
57+
5758
Pretty standard, an unordered list of menu items. The CSS is where it’s at:
5859

5960
```css

0 commit comments

Comments
 (0)