Updated the width, padding, and removed height.
This commit is contained in:
parent
e2d972884f
commit
31c01aaf74
|
@ -1,13 +1,13 @@
|
|||
* {
|
||||
box-sizing: border-box;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
/* Create two equal columns that floats next to each other */
|
||||
.column {
|
||||
float: left;
|
||||
width: 30%;
|
||||
padding: 10px;
|
||||
height: 300px; /* Should be removed. Only for demonstration */
|
||||
padding: 5px;
|
||||
/*height: 300px; /* Should be removed. Only for demonstration */
|
||||
}
|
||||
|
||||
/* Clear floats after the columns */
|
||||
|
|
Loading…
Reference in New Issue