Module

Halogen.HTML.CSS

This module defines an adapter between the purescript-halogen and purescript-css libraries.

#style

style :: forall i r. CSS -> IProp (style :: String | r) i

Render a set of rules as an inline style.

For example:

HH.div [ CSS.style do color red
                     display block ]
      [ ... ]

#stylesheet

stylesheet :: forall p i. CSS -> HTML p i

Render a set of rules as a style element.

Modules