Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Fun with Flexbox

Fun with Flexbox

Lightning Talk presented at Geekfest. June 10, 2014.

Mike Aparicio

June 10, 2014
Tweet

More Decks by Mike Aparicio

Other Decks in Technology

Transcript

  1. float: left; float: right; clear: both; display: block; margin: 0

    auto; position: relative; .clearfix WTF overflow: auto;
  2. Flexbox The Flexbox Layout (Flexible Box) module (currently a W3C

    Candidate Recommendation) aims at providing a more efficient way to lay out, align and distribute space among items in a container, even when their size is unknown and/or dynamic (thus the word "flex"). http://css-tricks.com/snippets/css/a-guide-to-flexbox/
  3. align-items Determines alignment of flex items across the cross axis

    when flex container is taller than content
  4. A Complete Guide to Flexbox
 http://css-tricks.com/snippets/css/a-guide-to-flexbox/ ! Solved by Flexbox


    http://philipwalton.github.io/solved-by-flexbox/ ! Flexbox in 5 Minutes
 http://devbryce.com/site/flexbox/ ! Flexplorer
 http://bennettfeely.com/flexplorer/ ! Flexy Boxes
 http://the-echoplex.net/flexyboxes/ Resources