<div class="clearfix">
  <div class="float-box">1</div>
  <div class="float-box">2</div>
  <div class="float-box">3</div>
</div>
<div class="new-box"></div>
.clearfix::after {
  content: "";
  clear: both;
  display: block;
}

.float-box {
  width: 100px;
  height: 100px;
  background: orange;
  margin: 10px;
  float: left;
}

.new-box {
  width: 250px;
  height: 250px;
  background: red;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.