Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <title>Floats and Clearfixes Assignment</title>
</head>
<body>
  <h3>Columns with a clearfix</h3>
    <!-- adding the clearfix class here will allow the margin above the h3 to actually show -->
  <section class="clearfix">
    <div class="column third box-1"></div>
    <div class="column third box-2"></div>
    <div class="column third box-3"></div>
  </section>
  <h3>Columns without a clearfix</h3>
  <!-- add clearfix class here to see how it moves the box-5 element to a new line -->
  <section class="clearfix">
    <div class="column third box-1"></div>
    <div class="column third box-2"></div>
    <div class="column third box-4"></div>
  </section>
  <div class="column third box-5"></div>
</body>
</html>
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
SamEurekapro
0viewers