/ Published in: CSS
URL: http://www.fileformat.info/info/unicode/char/200b/index.htm
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
.clearfix:after { clear: both; content: "\200B"; display: block; height: 0; } .clearfix { zoom: 1; }
You need to login to post a comment.
