Safe Haskell | None |
---|---|
Language | Haskell2010 |
Infrastructure for parsing & desugaring grid-layout related CSS properties.
Synopsis
- data CSSGrid = CSSGrid {
- autoColumns :: Unitted
- autoFlow :: Axis
- autoFlowDense :: Bool
- autoRows :: Unitted
- templateAreas :: [[Text]]
- templateColumns :: [([Text], Unitted)]
- templateRows :: [([Text], Unitted)]
- cssGap :: Size Unitted Unitted
- alignItems :: Size Alignment Alignment
- data Axis
- data CSSCell = CSSCell {}
- data Placement
- finalizeGrid :: PropertyParser x => CSSGrid -> Font' -> [CSSCell] -> [LayoutItem Length Length x] -> LayoutItem Length Length x
Documentation
Parsed CSS Grid properties
CSSGrid | |
|
Instances
A grid axis.
Identifies a cell in the CSS grid.
finalizeGrid :: PropertyParser x => CSSGrid -> Font' -> [CSSCell] -> [LayoutItem Length Length x] -> LayoutItem Length Length x Source #
Desugar grid properties to a grid layout.