Category Archives: Sass

Sass – clearfix mixin

The clearfix hack is a must have component in web development.

/* The clearfix hack */
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

Continue reading Sass – clearfix mixin

Advertisements