DEV Community

MoonLight
MoonLight

Posted on

floating elements

float

clear

use clear for left and right of box (clear both)

⛔️ problem

✅ fix

.tweet{
    border: 3px solid lightgrey;
    /* ⚜️ */
    overflow: hidden;
}
Enter fullscreen mode Exit fullscreen mode

Image description

Top comments (0)