float

scalatags.generic.Styles.float
object float extends Style

The float CSS property specifies that an element should be taken from the normal flow and placed along the left or right side of its container, where text and inline elements will wrap around it. A floating element is one where the computed value of float is not none.

MDN

Attributes

Graph
Supertypes
class Style
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
float.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 left: StylePair[Builder, String]

Is a keyword indicating that the element must float on the left side of its containing block.

Is a keyword indicating that the element must float on the left side of its containing block.

MDN

Attributes

lazy val none: StylePair[Builder, String]

Is a keyword indicating that the element must not float

Is a keyword indicating that the element must not float

MDN

Attributes

lazy val right: StylePair[Builder, String]

Is a keyword indicating that the element must float on the right side of its containing block.

Is a keyword indicating that the element must float on the right side of its containing block.

MDN

Attributes