cedricss/elm-css-systems/2.0.2

NOTE: the latest version is 3.2.1

Css.Systems.Utilities

Padding and margin utilities

paddingX : Length compatible units -> Style

Set horizontal padding.

paddingY : Length compatible units -> Style

Set vertical padding.

marginX : LengthOrAuto compatible -> Style

Set horizontal margin.

marginX auto


marginX space4
marginY : LengthOrAuto compatible -> Style

Set vertical margin.

Flex items

Control how flex items grow and shrink.

flexInitial : Style

The flex item can grow but not shrink, taking into account its initial size.

The flex item can grow and shrink, ignoring its initial size.

flexIgnoreInitialSize =
    flex3 (int 1) (int 1) (pct 0)
flexAuto : Style

The flex item can grow and shrink, taking into account its initial size.

flexNone : Style

Prevent a flex item to grow and shrink.

Align items

Control how flex items are positioned.

itemsStretch : Style
alignItems stretch
itemsStart : Style
alignItems flexStart
itemsCenter : Style
alignItems center
itemsEnd : Style
alignItems flexEnd
alignItems baseline