/ Published in: CSS

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).
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
.clearfix:after { clear: both; content: "\200B"; display: block; height: 0; } .clearfix { zoom: 1; }
URL: http://www.fileformat.info/info/unicode/char/200b/index.htm
Comments
