Skip to content

Instantly share code, notes, and snippets.

@msng
Created Dec 12, 2013
Embed
What would you like to do?
コンパクトな clearfix のサンプル。ここ参照: http://nicolasgallagher.com/micro-clearfix-hack/
.cf:before,
.cf:after {
content: " ";
display: table;
}
.cf:after {
clear: both;
}
.cf {
*zoom: 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment