package css
CSS parser and printer
Install
Dune Dependency
Authors
Maintainers
Sources
ocaml-css-0.3.0.tar.bz2
md5=70981bffdf5df82fd8ed20eb61b62e4d
sha512=45083ab20d89e3289bfdee0eb32717b8e37f7b0aedf6652afaa7a96008c9b35981c451be82d63d070e27c7ec0087619f2c0271301645907a8897163b8f49fd3d
Description
Published: 19 Dec 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
See Changes file for release details.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page