package css
CSS parser and printer
Install
Dune Dependency
Authors
Maintainers
Sources
ocaml-css-0.2.0.tar.bz2
md5=ceee290f230eb786d59de6ffcf692695
sha512=9ee5de92d764a5bb5b7dac1bc48d5892ccd8425d4226842148aae3322bf7335a738cc695fb36a29e3f90a487750a922f7301f44b6e60bb8954e4ad508ae60116
Description
Published: 13 Sep 2024
README
OCaml-css -- CSS parser, printer and more
OCaml-css is an OCaml library to parse and print CSS. It can also expand namespaces and perform computations on property values.
Parsing uses Angstrom to dynamically choose the parser when encountering a property declaration.
Parser can be extended by defining additional properties.
Documentation
Documentation is available here.
Development
Development is hosted on Framagit.
There are already some predefined properties. Contributions are welcome to add more. Shorthand properties are defined too.
CSS is released under GPL3 license.
Installation
The css
package is installable with opam:
$ opam install css
Current state of OCaml-css can be installed with:
$ opam pin add css git@framagit.org:zoggy/ocaml-css.git
Releases
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page