Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css clearfix for floats with display table and clear both

.group:after {
  content: "";
  display: table;
  clear: both;
}

<div class="group">
  <div class="is-floated"></div>
  <div class="is-floated"></div>
  <div class="is-floated"></div>
</div>
Source by css-tricks.com #
 
PREVIOUS NEXT
Tagged: #css #clearfix #floats #display #table #clear
ADD COMMENT
Topic
Name
1+5 =