alexanderkiel/elm-mdc-alpha/1.3.0

NOTE: the latest version is 1.4.0

Material.LayoutGrid

Material design’s responsive UI is based on a column-variate grid layout. It has 12 columns on desktop, 8 columns on tablet and 4 columns on phone.

View

view : List (Property msg) -> List (Html msg) -> Html msg

Renders a grid. Use cell as childs.

cell : List (Property msg) -> List (Html msg) -> Html msg

A grid cell. Use as childs of view.

Properties

span : Int -> Property msg

Span a cell from 1 to 12 columns.