clear

object clear extends Style[String]

The clear CSS property specifies whether an element can be next to floating elements that precede it or must be moved down (cleared) below them.

The clear CSS property specifies whether an element can be next to floating elements that precede it or must be moved down (cleared) below them.

The clear property applies to both floating and non-floating elements.

MDN

class Style[String]
class Key
class Object
trait Matchable
class Any

Value members

Concrete fields

lazy val both: StyleSetter

The element is moved down to clear past both left and right floats.

The element is moved down to clear past both left and right floats.

MDN

lazy val left: StyleSetter

The element is moved down to clear past left floats.

The element is moved down to clear past left floats.

MDN

lazy val none: StyleSetter

The element is not moved down to clear past floating elements.

The element is not moved down to clear past floating elements.

MDN

lazy val right: StyleSetter

The element is moved down to clear past right floats.

The element is moved down to clear past right floats.

MDN

Inherited fields

override val name: String
Inherited from
Style