how to use clearfix in html code example Example: clearfix css .clearfix { content: ""; clear: both; display: table; }