Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Use Flexbox to Responsively Layout Variable-Width Content


    See how to use flexbox to layout variable-width content in columns, and take advantage of justify-content to keep flex children center-aligned on smaller viewports. We'll also learn how margin can be applied to resolve for lack of a well-supported gap property in flexbox. At the end of the lesson, we'll have styled both the "Subscribe" section and the site footer.