Updated the width, padding, and removed height.

This commit is contained in:
Russell R. 2020-07-28 21:05:29 +00:00
parent e2d972884f
commit 31c01aaf74
1 changed files with 3 additions and 3 deletions

View File

@ -1,13 +1,13 @@
* { * {
box-sizing: border-box; box-sizing: content-box;
} }
/* Create two equal columns that floats next to each other */ /* Create two equal columns that floats next to each other */
.column { .column {
float: left; float: left;
width: 30%; width: 30%;
padding: 10px; padding: 5px;
height: 300px; /* Should be removed. Only for demonstration */ /*height: 300px; /* Should be removed. Only for demonstration */
} }
/* Clear floats after the columns */ /* Clear floats after the columns */