clay-0.13.1: CSS preprocessor as embedded Haskell.

Safe HaskellNone
LanguageHaskell98

Clay.Mask

Contents

Synopsis

Generic mask property.

class Val a => Mask a where Source #

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

Methods

mask :: a -> Css Source #

The mask-composite.

The mask-position.

The mask-size.

The mask-repeat.

The mask-origin.

The mask-clip.

The mask-attachment.

The mask-image.