elm-grid
is intended to ease the creation of css-grid containers in Elm.
make : List (Attribute msg) -> List (Html msg) -> Html msg
Make a new grid container.
templateCols : String -> Attribute msg
templateRows : String -> Attribute msg
templateAreas : String -> Attribute msg
autoRows : String -> Attribute msg
autoCols : String -> Attribute msg
Determine alignment.
placeItems : Alignment -> Attribute msg
alignItems : Alignment -> Attribute msg
justifyItems : Alignment -> Attribute msg
justifySelf : Alignment -> Attribute msg
id : String -> Attribute msg
class : String -> Attribute msg
height : String -> Attribute msg
width : String -> Attribute msg
htmlAttr : Html.Attribute msg -> Attribute msg
Convert an Html.Attribute msg to a Grid.Attribute msg
Internal Attribute msg.
Can be circumvented by using htmlAttr
, for flexibility.