Sunday, April 13, 2014

CSS clearfix

.group:before,
.group:after {
  content: "";
  display: table;
}

.group:after {
  clear: both;
}

.group {
  zoom: 1 /* IE6&7 */
}

No comments: