Skip to content

Instantly share code, notes, and snippets.

View surrealist's full-sized avatar
🐌
a life.

Suthep Sangvirotjanaphat surrealist

🐌
a life.
View GitHub Profile
@surrealist
surrealist / css -> clearfix
Created March 20, 2012 13:41 — forked from djanix/css -> clearfix
Clear after a float element for all browser and without addid aditionnal markup in the html
.clearfix:before,
.clearfix:after {
content: '\0020';
display: block;
overflow: hidden;
visibility: hidden;
width: 0;
height: 0;
}