Maybe the most widely used clear after float. .group:after { content: ""; display: table; clear: both; } Share:Share on FacebookShare on LinkedInShare on WhatsAppShare on Email