David542
David542

Reputation: 110093

How to remove Clear:Both in CSS

I have the follow CSS --

.item {
    clear: both
}

Is there a way to remove this downstream. I want to be able to do something like:

#div .item {
    clear: remove;
}

Upvotes: 1

Views: 3681

Answers (1)

Bilal Akil
Bilal Akil

Reputation: 4755

clear: none;

That should do the trick!

That's the initial/default value. See more: https://developer.mozilla.org/en-US/docs/Web/CSS/clear

Upvotes: 8

Related Questions