By using this site you agree to the use of cookies by Brugbart and our partners.

Learn more

CSS Clear Property

Created: 2013-06-28 00:49

The Clear Property of CSS can be used together with float, to specify if an floated element will allow content on its left or right side.

Possible Values

noneThe element flows normally.
leftThe element is treated as a block to its left.
rightThe element is treated as a block to its right.

Example

div {
  float: left;
  clear: left;
}

Inherited? NO!