clear

scalatags.generic.Styles.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

Attributes

Graph
Supertypes
class Style
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
clear.type

Members list

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.

Attributes

Inherited from:
Style
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes