stitch-0.3.3.0: lightweight CSS DSL
Stitch.Types.Selector
Description
This module defines everything used to manage CSS selectors: creating them as well as combining them (using the Monoid instance). It also includes a function fromText for converting arbitrary Texts to Selectors.
Monoid
fromText
Text
Selector
Synopsis
newtype Selector Source
Represents a CSS selector. Can be combined with other Selectors using its Monoid instance.
Constructors
Fields
Instances
fromText :: Text -> Selector Source
Parse a Selector from a Text value. This is the same function used by the IsString instance used by OverloadedStrings.
IsString
OverloadedStrings