WashNGo-2.12.0.1: WASH is a family of EDSLs for programming Web applications in Haskell.Source codeContentsIndex
WASH.CGI.Style
Synopsis
data Style
= NoStyle
| String :=: String
| Style :^: Style
| Named String
using :: Monad m => Style -> (WithHTML x m b -> c) -> WithHTML x m b -> c
Documentation
data Style Source
First class style elements. Intended for CSS2.
Constructors
NoStyle
String :=: Stringprimitive style name :=: value
Style :^: Stylecombine two styles
Named Stringreference to style sheet
usingSource
:: Monad m
=> Stylea field constructor, typically HTMLField
-> WithHTML x m b -> c
-> WithHTML x m bstyled version of this constructor
-> c
Attaches a style to a field constructor.
Produced by Haddock version 2.6.0