Module

CSS.Common

A bunch of type classes representing common values shared between multiple CSS properties, like Auto, Inherit, None, Normal and several more.

All the common value type classes have an instance for the Value type, making them easily derivable for custom value types.

#All

class All a  where

Members

Instances

#Auto

class Auto a  where

Members

Instances

#Baseline

class Baseline a  where

Members

Instances

#Center

class Center a  where

Members

Instances

#Inherit

class Inherit a  where

Members

Instances

#None

class None a  where

Members

Instances

#Normal

class Normal a  where

Members

Instances

#Visible

class Visible a  where

Members

Instances

#Hidden

class Hidden a  where

Members

Instances

#Initial

class Initial a  where

Members

Instances

#Unset

class Unset a  where

Members

Instances

#Top

class Top a  where

Members

Instances

#Middle

class Middle a  where

Members

Instances

#Bottom

class Bottom a  where

Members

Instances

#URL

class URL a  where

Members

Instances

#Other

class Other a  where

The other type class is used to escape from the type safety introduced by embedding CSS properties into the typed world of purescript-css. Other allows you to cast any Value to a specific value type.

Members

Instances

#browsers

browsers :: Prefixed

Common list browser prefixes to make experimental properties work in different browsers.

#call

call :: forall s. IsString s => Monoid s => s -> s -> s

Syntax for CSS function call.

Modules