rtfeldman/elm-css/13.1.1

NOTE: this package is not compatible with Elm 0.19.1

DEPRECATED.Css

Deprecated functions.

Okay, deprecated function.

Just the one, really.

asPairs : List Style -> List ( String, String )

DEPRECATED. Like compiling to .css files, support for asPairs is planned to be removed in a future release (likely sometime in 2018), once Html.Styled has matured sufficiently. The design goal is for elm-css to offer One Way To Do It, and that one way is planned to be Html.Styled!

Take a list of styles and return a list of key-value pairs that can then be passed to a style attribute. styled = asPairs >> Html.Attributes.style button [ styled [ position absolute, left (px 5) ] ][ text "Whee!" ]