CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise


CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS clear Property

CSS clear Property



The clear property is used to control the flow next to floated elements. It specifies what should happen with the element that is next to a floating element.


Default Value:-


Its default value is none.




Its syntax is:- clear: none | left | right | both | initial | inherit;


Further Explanation:-


Value Description
none The element is not pushed below left or right floated elements
left The element is pushed below left floated elements
right The element is pushed below right floated elements
both The element is pushed below both left and right floated elements
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS Properties

All Sections related to CSS