import Html.Grid as Grid
import Html.Styled
view : Html.Styled.Html msg
view =
Grid.container
[]
[ Grid.row
[]
[ Grid.column
[]
[ Html.text "Hello from upper left column" ]
, Grid.column
[]
[ Html.text "Hello from upper right column" ]
]
, Grid.row
[]
[ Grid.column
[]
[ Html.text "Hello from lower left column" ]
, Grid.column
[]
[ Html.text "Hello from lower right column" ]
]
]A row in a grid
-- rows are styled with the css:
-- display: flex;
-- flex-direction: row;A column in a grid
-- columns are styled with the css:
-- flex-basis: 100%;
-- flex: 1;
-- display: flex;
Just a container for grids. Its not necessary, but it will get you off to a good start.