Module

Halogen.HTML.CSS

Package
purescript-halogen-css
Repository
slamdata/purescript-halogen-css

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

#style Source

style :: forall r i. 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 Source

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

Render a set of rules as a style element.