Module

CSS.Background

Package
purescript-css
Repository
purescript-contrib/purescript-css

#Background Source

class (Val a) <= Background a  where

We implement the generic background property as a type class that accepts multiple value types. This allows us to combine different background aspects into a shorthand syntax.

Members

Instances

#backgroundColor Source

#positioned Source

positioned :: forall a. Size a -> Size a -> BackgroundPosition

#by Source

by :: forall a b. Size a -> Size b -> BackgroundSize

#sideTop Source

sideTop :: Side

We have to prefix these values to avoid conflict with existing property

#sideLeft Source

#sideRight Source

#sideBottom Source

#sideCenter Source

#sideMiddle Source

#angular Source

angular :: forall a. Angle a -> Direction

#Loc Source

class (Val a) <= Loc a  where

Members

Instances