Object

scalacss.internal.Attrs

margin

Related Doc: package Attrs

Permalink

object margin extends TypedAttrT4Edges[LenPctAuto] with ZeroLit

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.

See also

MDN

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. margin
  2. ZeroLit
  3. TypedAttrT4Edges
  4. TypedAttrBase
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final type V = ValueT[LenPctAuto]

    Permalink
    Definition Classes
    TypedAttrT4Edges

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def 0: AV

    Permalink

    The digit zero.

    The digit zero. "0".

    Definition Classes
    ZeroLit
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. final def apply(t: V, r: V, b: V, l: V): AV

    Permalink

    t

    Value for top edge.

    r

    Value for right edge.

    b

    Value for bottom edge.

    l

    Value for left edge.

    Definition Classes
    TypedAttrT4Edges
  6. final def apply(t: V, h: V, b: V): AV

    Permalink

    t

    Value for top edge.

    h

    Value for horizontal edges.

    b

    Value for bottom edge.

    Definition Classes
    TypedAttrT4Edges
  7. final def apply(v: V, h: V): AV

    Permalink

    v

    Value for vertical edges.

    h

    Value for horizontal edges.

    Definition Classes
    TypedAttrT4Edges
  8. final def apply(all: V): AV

    Permalink

    Applies the same setting to all four edges.

    Applies the same setting to all four edges.

    Definition Classes
    TypedAttrT4Edges
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. val attr: Attr

    Permalink
    Definition Classes
    marginTypedAttrBase
  11. def attrB: Attr

    Permalink
    Attributes
    protected
    Definition Classes
    marginTypedAttrT4Edges
  12. def attrL: Attr

    Permalink
    Attributes
    protected
    Definition Classes
    marginTypedAttrT4Edges
  13. def attrR: Attr

    Permalink
    Attributes
    protected
    Definition Classes
    marginTypedAttrT4Edges
  14. def attrT: Attr

    Permalink
    Attributes
    protected
    Definition Classes
    marginTypedAttrT4Edges
  15. def auto: AV

    Permalink
  16. def av(v: Value): AV

    Permalink
    Attributes
    protected
    Definition Classes
    TypedAttrBase
  17. def avl(v: Literal): AV

    Permalink
    Attributes
    protected
    Definition Classes
    TypedAttrBase
  18. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def horizontal(h: V): AVs

    Permalink
    Definition Classes
    TypedAttrT4Edges
  25. def inherit: AV

    Permalink

    The inherit CSS-value causes the element for which it is specified to take the computed value of the property from its parent element.

    The inherit CSS-value causes the element for which it is specified to take the computed value of the property from its parent element. It is allowed on every CSS property.

    For inherited properties, this reinforces the default behavior, and is only needed to override another rule. For non-inherited properties, this specifies a behavior that typically makes relatively little sense and you may consider using initial instead, or unset on the all property.

    Definition Classes
    TypedAttrBase
  26. def initial: AV

    Permalink

    The initial CSS keyword applies the initial value of a property to an element.

    The initial CSS keyword applies the initial value of a property to an element. It is allowed on every CSS property and causes the element for which it is specified to use the initial value of the property.

    Definition Classes
    TypedAttrBase
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toString(): String

    Permalink
    Definition Classes
    TypedAttrBase → AnyRef → Any
  33. def unset: AV

    Permalink

    The unset CSS keyword is the combination of the initial and inherit keywords.

    The unset CSS keyword is the combination of the initial and inherit keywords. Like these two other CSS-wide keywords, it can be applied to any CSS property, including the CSS shorthand all. This keyword resets the property to its inherited value if it inherits from its parent or to its initial value if not. In other words, it behaves like the inherit keyword in the first case and like the initial keyword in the second case.

    Definition Classes
    TypedAttrBase
  34. final def vertical(v: V): AVs

    Permalink
    Definition Classes
    TypedAttrT4Edges
  35. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ZeroLit

Inherited from TypedAttrT4Edges[LenPctAuto]

Inherited from TypedAttrBase

Inherited from AnyRef

Inherited from Any

Ungrouped