alexanderkiel / elm-mdc-alpha / 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 : Basics.Int -> Property msg

Span a cell from 1 to 12 columns.