simple-css-0.0.2: simple binding of css and html

Safe HaskellNone

SimpleCss.Tricks.Images

Synopsis

Documentation

data BkgIm Source

representing background images

Constructors

BkgIm 

bkgIm :: String -> Expr -> Expr -> Expr -> BkgImSource

synonym to BkgIm

arguments are

  • url
  • repeat property
  • x coordinate
  • y coordinate

bkgIms :: Expr -> [BkgIm] -> Css a -> Css aSource

set of background images

arguments

  • background color
  • list of images

head of list is on top, then goes second image and etc.

gallery :: [Css a] -> Css aSource

floating gallery of images