css-text-0.1.2.2: CSS parser and renderer.

Safe HaskellSafe
LanguageHaskell98

Text.CSS.Parse

Description

Parse CSS with parseNestedBlocks and render it with renderNestedBlock

Synopsis

Documentation

parseNestedBlocks :: Text -> Either String [NestedBlock] Source #

The preferred parser, will capture media queries

parseBlocks :: Text -> Either String [CssBlock] Source #

The original parser of basic CSS, but throws out media queries