margin

object margin extends PixelStyle

The margin CSS property sets the margin for all four sides. It is a shorthand to avoid setting each side separately with the other margin properties: margin-top, margin-right, margin-bottom and margin-left.

Negative values are also allowed.

MDN

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

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

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
PixelStyle
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product

Concrete fields

lazy val auto: StylePair[Builder, _]

auto is replaced by some suitable value, e.g. it can be used for centering of blocks.

auto is replaced by some suitable value, e.g. it can be used for centering of blocks.

MDN

Inherited fields

Inherited from
PixelStyle