html - Using :after to clear floating elements - Stack Overflow

PHOTO EMBED

Wed Sep 09 2020 14:54:43 GMT+0000 (Coordinated Universal Time)

Saved by @mynomoto #css

.wrapper:after {
    content: '';
    display: block;
    clear: both;
}
content_copyCOPY

https://stackoverflow.com/questions/10699343/using-after-to-clear-floating-elements#10699376