Object

com.raquo.domtypes.generic.defs.styles.Styles

justifyContent

Related Doc: package Styles

Permalink

object justifyContent extends Style[String]

The CSS justify-content property defines how a browser distributes available space between and around elements when aligning flex items in the main-axis of the current line. The alignment is done after the lengths and auto margins are applied, meaning that, if there is at least one flexible element, with flex-grow different than 0, it will have no effect as there won't be any available space.

MDN

Linear Supertypes
Style[String], Key, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. justifyContent
  2. Style
  3. Key
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. lazy val baseline: StyleSetter

    Permalink

    Specifies participation in first- or last-baseline alignment: aligns the alignment baseline of the box’s first or last baseline set with the corresponding baseline in the shared first or last baseline set of all the boxes in its baseline-sharing group.

    Specifies participation in first- or last-baseline alignment: aligns the alignment baseline of the box’s first or last baseline set with the corresponding baseline in the shared first or last baseline set of all the boxes in its baseline-sharing group. The fallback alignment for first baseline is start, the one for last baseline is end.

    MDN

  6. lazy val center: StyleSetter

    Permalink

    The items are packed flush to each other toward the center of the of the alignment container along the main axis.

    The items are packed flush to each other toward the center of the of the alignment container along the main axis.

    MDN

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val cssName: String

    Permalink

    CSS property name, e.g.

    CSS property name, e.g. "background-color"

    Definition Classes
    Style
  9. lazy val end: StyleSetter

    Permalink

    The items are packed flush to each other toward the end edge of the alignment container in the main axis.

    The items are packed flush to each other toward the end edge of the alignment container in the main axis.

    MDN

  10. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. lazy val firstBaseline: StyleSetter

    Permalink
  14. lazy val flexEnd: StyleSetter

    Permalink

    The items are packed flush to each other toward the edge of the alignment container depending on the flex container's main-end side.

    The items are packed flush to each other toward the edge of the alignment container depending on the flex container's main-end side. This only applies to flex layout items. For items that are not children of a flex container, this value is treated like end.

    MDN

  15. lazy val flexStart: StyleSetter

    Permalink

    The items are packed flush to each other toward the edge of the alignment container depending on the flex container's main-start side.

    The items are packed flush to each other toward the edge of the alignment container depending on the flex container's main-start side. This only applies to flex layout items. For items that are not children of a flex container, this value is treated like start.

    MDN

  16. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. lazy val lastBaseline: StyleSetter

    Permalink
  20. lazy val left: StyleSetter

    Permalink

    The items are packed flush to each other toward the left edge of the alignment container.

    The items are packed flush to each other toward the left edge of the alignment container. If the property’s axis is not parallel with the inline axis, this value behaves like start.

    MDN

  21. val name: String

    Permalink

    Javascript property name for this CSS property, e.g.

    Javascript property name for this CSS property, e.g. "backgroundColor"

    Definition Classes
    StyleKey
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. lazy val normal: StyleSetter

    Permalink

    The items are packed in their default position as if no justify-content value was set.

    The items are packed in their default position as if no justify-content value was set.

    MDN

  24. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  26. lazy val right: StyleSetter

    Permalink

    The items are packed flush to each other toward the right edge of the alignment container in the appropriate axis.

    The items are packed flush to each other toward the right edge of the alignment container in the appropriate axis. If the property’s axis is not parallel with the inline axis, this value behaves like start.

    MDN

  27. lazy val safe: StyleSetter

    Permalink

    If the size of the item overflows the alignment container, the item is instead aligned as if the alignment mode were start.

    If the size of the item overflows the alignment container, the item is instead aligned as if the alignment mode were start.

    MDN

  28. lazy val spaceAround: StyleSetter

    Permalink

    The items are evenly distributed within the alignment container along the main axis.

    The items are evenly distributed within the alignment container along the main axis. The spacing between each pair of adjacent items is the same. The empty space before the first and after the last item equals half of the space between each pair of adjacent items.

    MDN

  29. lazy val spaceBetween: StyleSetter

    Permalink

    The items are evenly distributed within the alignment container along the main axis.

    The items are evenly distributed within the alignment container along the main axis. The spacing between each pair of adjacent items is the same. The first item is flush with the main-start edge, and the last item is flush with the main-end edge.

    MDN

  30. lazy val spaceEvenly: StyleSetter

    Permalink

    The items are evenly distributed within the alignment container along the main axis.

    The items are evenly distributed within the alignment container along the main axis. The spacing between each pair of adjacent items, the main-start edge and the first item, and the main-end edge and the last item, are all exactly the same.

    MDN

  31. lazy val start: StyleSetter

    Permalink

    The items are packed flush to each other toward the start edge of the alignment container in the main axis.

    The items are packed flush to each other toward the start edge of the alignment container in the main axis.

    MDN

  32. lazy val stretch: StyleSetter

    Permalink

    If the combined size of the items is less than the size of the alignment container, any auto-sized items have their size increased equally (not proportionally), while still respecting the constraints imposed by max-height/max-width (or equivalent functionality), so that the combined size exactly fills the alignment container along the main axis.

    If the combined size of the items is less than the size of the alignment container, any auto-sized items have their size increased equally (not proportionally), while still respecting the constraints imposed by max-height/max-width (or equivalent functionality), so that the combined size exactly fills the alignment container along the main axis.

    MDN

  33. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  35. lazy val unsafe: StyleSetter

    Permalink

    Regardless of the relative sizes of the item and alignment container, the given alignment value is honored.

    Regardless of the relative sizes of the item and alignment container, the given alignment value is honored.

    MDN

  36. final def wait(): Unit

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

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

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

Inherited from Style[String]

Inherited from Key

Inherited from AnyRef

Inherited from Any

Ungrouped