Flexbox’s Best-Kept Secret

Sam Provenza
Nov 18, 2015 · 4 min read

“TL;DR Flexbox and auto margins were made for each other.”


Let’s get flexible!

Margin-left: auto example
FThis is also useful for “grouping” nav items
Auto margin vertical example

So what’s the bottom line?

HackerNoon.com

how hackers start their afternoons.

Sam Provenza

Written by

Product Designer @ Tailwind | CSS Enthusiast | Girl Develop It NYC Chapter Leader | www.samserif.co

HackerNoon.com

how hackers start their afternoons.