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)

We are hiring! Do you want to be our Senior Platform Engineer? Are you capable of chipping in across sysadmin, ops, and site reliability work, while supporting the open source stack that runs DEV and other communities?

This role might just be for you!

Apply now