Card layout
Get the code
import Css
import Html.Styled as Html exposing (Html)
import Html.Styled.Attributes as Html
card : Html msg
card =
Html.div
[ Html.css
[ Css.displayFlex
, Css.flexWrap Css.wrap
, Css.margin2 Css.zero (Css.px -8)
]
]
[ Html.div
[ Html.css
[ Css.flexBasis <| Css.pct 25
, Css.padding2 Css.zero (Css.px 8)
]
]
[]
]