hasmin-1.0: CSS Minifier

Copyright(c) 2017 Cristian Adrián Ontivero
LicenseBSD3
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Hasmin.Types.BgSize

Description

 

Synopsis

Documentation

data BgSize Source #

CSS <bg-size> data type, used by the background-size and background properties.

Constructors

Cover 
Contain 
BgSize1 (Either PercentageLength Auto) 
BgSize2 (Either PercentageLength Auto) (Either PercentageLength Auto) 

Instances

Eq BgSize Source # 

Methods

(==) :: BgSize -> BgSize -> Bool #

(/=) :: BgSize -> BgSize -> Bool #

Show BgSize Source # 
ToText BgSize Source # 
Minifiable BgSize Source #

Minifying a <bg-size> value entails, apart from minifying the individual values, removing any auto value in the second position (if present).

data Auto Source #

The CSS auto keyword.

Constructors

Auto 

Instances