Module

CSS.Common

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

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 Source

class All a  where

Members

Instances

#Auto Source

class Auto a  where

Members

Instances

#Baseline Source

class Baseline a  where

Members

Instances

#Center Source

class Center a  where

Members

Instances

#Inherit Source

class Inherit a  where

Members

Instances

#None Source

class None a  where

Members

Instances

#Normal Source

class Normal a  where

Members

Instances

#Visible Source

class Visible a  where

Members

Instances

#Hidden Source

class Hidden a  where

Members

Instances

#Initial Source

class Initial a  where

Members

Instances

#Unset Source

class Unset a  where

Members

Instances

#Top Source

class Top a  where

Members

Instances

#Middle Source

class Middle a  where

Members

Instances

#Bottom Source

class Bottom a  where

Members

Instances

#URL Source

class URL a  where

Members

Instances

#Other Source

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 Source

browsers :: Prefixed

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

#call Source

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

Syntax for CSS function call.