Safe Haskell | None |
---|---|
Language | Haskell98 |
- letterSpacing :: Size a -> Css
- wordSpacing :: Size a -> Css
- data TextRendering
- textRendering :: TextRendering -> Css
- optimizeSpeed :: TextRendering
- optimizeLegibility :: TextRendering
- geometricPrecision :: TextRendering
- textShadow :: Size a -> Size a -> Size a -> Color -> Css
- data TextIndent
- textIndent :: TextIndent -> Css
- eachLine :: TextIndent -> TextIndent
- hanging :: TextIndent -> TextIndent
- indent :: Size a -> TextIndent
- data TextDirection
- direction :: TextDirection -> Css
- ltr :: TextDirection
- rtl :: TextDirection
- data TextAlign
- textAlign :: TextAlign -> Css
- justify :: TextAlign
- matchParent :: TextAlign
- start :: TextAlign
- end :: TextAlign
- alignSide :: Side -> TextAlign
- alignString :: Char -> TextAlign
- data WhiteSpace
- whiteSpace :: WhiteSpace -> Css
- pre :: WhiteSpace
- nowrap :: WhiteSpace
- preWrap :: WhiteSpace
- preLine :: WhiteSpace
- data TextDecoration
- textDecoration :: TextDecoration -> Css
- textDecorationStyle :: Stroke -> Css
- textDecorationLine :: TextDecoration -> Css
- textDecorationColor :: Color -> Css
- underline :: TextDecoration
- overline :: TextDecoration
- lineThrough :: TextDecoration
- blink :: TextDecoration
- data TextTransform
- textTransform :: TextTransform -> Css
- capitalize :: TextTransform
- uppercase :: TextTransform
- lowercase :: TextTransform
- fullWidth :: TextTransform
- data TextOverflow
- textOverflow :: TextOverflow -> Css
- overflowClip :: TextOverflow
- overflowEllipsis :: TextOverflow
- data WordBreak
- wordBreak :: WordBreak -> Css
- breakAll :: WordBreak
- keepAll :: WordBreak
- data OverflowWrap
- overflowWrap :: OverflowWrap -> Css
- wordWrap :: OverflowWrap -> Css
- breakWord :: OverflowWrap
- data Content
- content :: Content -> Css
- contents :: [Content] -> Css
- attrContent :: Text -> Content
- stringContent :: Text -> Content
- uriContent :: Text -> Content
- urlContent :: Text -> Content
- openQuote :: Content
- closeQuote :: Content
- noOpenQuote :: Content
- noCloseQuote :: Content
Letter and word-spacing.
letterSpacing :: Size a -> Css Source #
wordSpacing :: Size a -> Css Source #
Text-rendering.
data TextRendering Source #
textRendering :: TextRendering -> Css Source #
Text-shadow.
Text-indent.
Supply a length — optionally annotated with each-line
or hanging
or
both, or a global value. It is possible to apply the same annotation
multiple times, but it has no defined effect.
Note browser support is currently (March 2018) non-existent, but the Prince typesetting system supports the syntax.
Formal argument syntax
<length-percentage> && hanging? && each-line? where <length-percentage> = <length> | <percentage>
data TextIndent Source #
textIndent :: TextIndent -> Css Source #
eachLine :: TextIndent -> TextIndent Source #
Annotate the supplied TextIndent
with each-line
or hanging
or
both.
eachLine . hanging . indent $ px 3 :: TextIndent
hanging :: TextIndent -> TextIndent Source #
Annotate the supplied TextIndent
with each-line
or hanging
or
both.
eachLine . hanging . indent $ px 3 :: TextIndent
indent :: Size a -> TextIndent Source #
Text-direction.
data TextDirection Source #
direction :: TextDirection -> Css Source #
ltr :: TextDirection Source #
rtl :: TextDirection Source #
Text-align.
alignString :: Char -> TextAlign Source #
White-space.
data WhiteSpace Source #
whiteSpace :: WhiteSpace -> Css Source #
pre :: WhiteSpace Source #
nowrap :: WhiteSpace Source #
preWrap :: WhiteSpace Source #
preLine :: WhiteSpace Source #
Text-decoration.
data TextDecoration Source #
textDecoration :: TextDecoration -> Css Source #
textDecorationStyle :: Stroke -> Css Source #
textDecorationColor :: Color -> Css Source #
Text-transform.
data TextTransform Source #
textTransform :: TextTransform -> Css Source #
Text-overflow.
data TextOverflow Source #
textOverflow :: TextOverflow -> Css Source #
Word-break.
Overflow-wrap (and Word-wrap).
data OverflowWrap Source #
overflowWrap :: OverflowWrap -> Css Source #
wordWrap :: OverflowWrap -> Css Source #
Content.
attrContent :: Text -> Content Source #
stringContent :: Text -> Content Source #
uriContent :: Text -> Content Source #
urlContent :: Text -> Content Source #
closeQuote :: Content Source #