decioferreira / elm-zen-css / CSS.Attributes

Attributes

class : CSS.Internal.ClassName -> Html.Attribute msg

HTML class attribute.

classList : List ( CSS.Internal.ClassName, Basics.Bool ) -> Html.Attribute msg

This function makes it easier to build a space-separated class attribute. Each class can easily be added and removed depending on the boolean value it is paired with.

svgClass : CSS.Internal.ClassName -> Svg.Attribute msg

SVG class attribute.