uncover-co/elm-widgets/2.12.1

NOTE: the latest version is 2.28.0

W.Container

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

Styles

background : String -> Attribute msg

Layouts

largeScreen : List (Attribute msg) -> Attribute msg

Padding

Gaps

Html

node : String -> Attribute msg
styleAttrs : List ( String, String ) -> Attribute msg

Used to pass in extra styles to your container.

W.Container.view
    [ W.Container.styles
        [ ( "height", "200px" )
        , ( "position", "relative" )
        ]
    ]
    []
htmlAttrs : List (Attribute msg) -> Attribute msg

Note that for style attributes you should use the styleAttrs attribute instead.

type Attribute msg