There are 50 ways to leave your lover, 8 million stories in the naked city and now FIVE ways to lay out boxes in CSS:
– Floats and clears, the old standby;
– Display: block and inline, still highly useful;
– CSS grids (not ready for prime time)
– Display: table (why?)
– And my new favorite, Flexible boxes (flexbox).
Let’s play!