Return to Snippet

Revision: 34765
at October 28, 2010 02:35 by mehigh


Initial Code
.clearfix:after { clear: both; content: "\200B"; display: block; height: 0; }
.clearfix { zoom: 1; }

Initial URL
http://www.fileformat.info/info/unicode/char/200b/index.htm

Initial Description
The simplest implementation of clearfix. \200B is in fact the zero width space character, therefore no need to apply the visibility:hidden on a '.' (as the 'standard' out there).

Initial Title
Clearfix using zero-width-space character

Initial Tags


Initial Language
CSS