simple-css: simple binding of css and html
Library binds css and html. It takes notion of html for content, css for styling to extreme.
There are functions to build 'styling tree' and html elements can be placed only in the lists of the tree.
Html elements can be groupped with div
, span
or a
tags and styled with subset of css.
Result of the programm is string of css code and list of html elements.
Module SimpleCss contains core functions of the library and SimpleCss.Tricks translates some
css tricks i've found in the web.
See 'example/Main.hs' to get started
Modules
[Index]
Downloads
- simple-css-0.0.4.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.0.1, 0.0.2, 0.0.3, 0.0.4 |
---|---|
Dependencies | base (>=4 && <5), blaze-html (>=0.4), hashable (>=1.1.1.0), language-css (>=0.0.2), unordered-containers (>=0.1.1) [details] |
Tested with | ghc ==6.13.1 |
License | BSD-3-Clause |
Author | Anton Kholomiov |
Maintainer | <anton.kholomiov@gmail.com> |
Category | Web |
Uploaded | by AntonKholomiov at 2011-03-08T17:06:13Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 2902 total (19 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |