CSS clear Property Reference

The CSS clear property is a standard property in CSS Positioned Layout. Review its formal syntax, computed behavior, and practical declarations.

CSS clear Property Reference

The CSS clear property is a standard property in CSS Positioned Layout. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

clear overview

The CSS clear property is a standard property in CSS Positioned Layout. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

clear formal syntax
FieldValue
Formal syntaxnone | left | right | both | inline-start | inline-end
Initial valuenone
Applies toblockLevelElements
InheritedNo
Percentagesno
Computed valueasSpecified
Animation typediscrete
Mediavisual
Specification groupCSS Positioned Layout
StatusStandard

Practical examples

These declarations demonstrate valid ways to set clear. The initial and inherit global keywords remain available even when a property-specific value is preferable.

clear live example
CSS .reset-example { clear: initial; } .inherit-example { clear: inherit; } @supports (clear: initial) { .supported { clear: initial; } }

Description

The CSS clear property is a standard property in CSS Positioned Layout. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: clear
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies