lucid-foundation-0.0.1: Basic Zurb Foundation API in Lucid

Safe HaskellNone
LanguageHaskell2010

Lucid.Foundation.Structure.Grid

Description

We can't lens into DOM on the server-side, yet, so we've made some auxilliary functions for creating row_ div tags, and some class names for creating columns. . Use them like this: . > div_ [class_ $ mconcat [ row_ > , small_collapsed_ > , large_uncollapsed_ ]] $ > div_ [class_ $ mconcat [ columns_ > , small_ 6 > , medium_ 4 > , large_ 3 > , small_centered_ > , large_uncentered_ > , small_push_ 6 > , medium_pull_ 4 > , large_reset_order_ ]] $ > -- rest of DOM...

Documentation

row_ :: Text Source

small_ :: Int -> Text Source

medium_ :: Int -> Text Source

large_ :: Int -> Text Source