Module

Oak.Css

Package
purescript-oak
Repository
ehrenmurdick/purescript-oak

The Oak.Css module can be used to add style attributes to html various elements.

import Oak.Html.Attribute
import Oak.Css

view _ =
  div [ style [ backgroundColor "red" ] ]
   [ text "hi" ]

#StyleAttribute Source