float

object float extends Style[String]

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.

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

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

Value members

Concrete fields

lazy val left: StyleSetter

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

lazy val none: StyleSetter

Is a keyword indicating that the element must not float

Is a keyword indicating that the element must not float

MDN

lazy val right: StyleSetter

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

Inherited fields

override val name: String
Inherited from
Style