How to remove Clear:Both in CSS


Tags: css

Problem :

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;
}


Solution :

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


    CSS Howto..

    How to implement ::ms-clear in CSS?

    jQuery + CSS text show not working

    Quick beginner CSS, how to “scope” styles?

    How do I use Controller specific stylesheets in Rails 3.2.1?

    How to get conditional css to work on Blogger/Blogspot?

    How to make rounded corner cut-out using CSS?

    How to include template with css to all pages on website

    How to get the CSS left-property value of a div using JavaScript?

    How to set a CSS property with a variable in JQuery?

    How to remove the white background from Bootstrap carousal?

    Rails4: How to create Image Links with Hover?

    How to “mark” a UL/LI nav item as “active” based on click?

    How to make SpriteSpin responsive?

    How to add a border on a table to a generated file from PrinceXML?

    How to use commas in a CSS variable fallback?

    Internet Explorer: how to escape extra carriage return after editing Textarea?

    How to use both jQuery styles and css style sheet?

    How to prevent content from being pushed down on appearance of floating menu in mobile display

    How do I get placeholder text in firefox and other browsers that don't support the html5 tag option?

    How to ignore CSS img styling for certain sections of the website?

    Safari displays font differently from other browsers -Set specific font-family for specific browser - How to change font smoothing for Safari [closed]

    How slow is * css selector for mobile browsers?

    Flexbox: how to get divs to fill up 100% of the container width without wrapping?

    • centered, not moving down.. unsure why / how to fix

    How to edit 'clip' CSS property in JQuery?

    How to find if a request is for js or css in httpHandler

    How to create zebra-stripe CSS with TAL?

    How to convert a .PNG file into a source code that can be stored into mysql and called up via CSS as “png”

    How to set Safari print margins via CSS to print borderless

    How to Make CSS Work on 404 Error Page?