clear

object clear extends Style

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
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
clear.type

Value members

Inherited methods

def :=[Builder, T](v: T)(implicit ev: StyleValue[Builder, T]): StylePair[Builder, T]

Creates an StylePair from an Style and a value of type T, if there is an StyleValue of the correct type.

Creates an StylePair from an Style and a value of type T, if there is an StyleValue of the correct type.

Inherited from:
Style
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product

Concrete fields

lazy val both: StylePair[Builder, String]

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: StylePair[Builder, String]

The element is moved down to clear past left floats.

The element is moved down to clear past left floats.

MDN

lazy val none: StylePair[Builder, String]

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: StylePair[Builder, String]

The element is moved down to clear past right floats.

The element is moved down to clear past right floats.

MDN