Removing float-related properties from the columns section

OK, here's our three-column layout:

Let's recall how it moves to a one-column tube at smaller widths:

Alright, let's go to the CSS file. Now we'll remove all the float-based properties from our columns.

Starting with this:

****************3 columns****************/.column {  float: left;  width: 31.25%; /* 300/960 */  margin-left: 3.125%; /* 30/960 */}.column:first-child {  margin-left: 0;}.columns figure {  margin: 0 auto;  width: 100%;  max-width: 250px;}

Let's basically remove everything ...

Get Mastering CSS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.