Package

purescript-css-properties

Repository
nonbili/purescript-css-properties
License
BSD-3-Clause
Uploaded by
rnons
Published on
2019-08-14T14:06:42Z

purescript-css-properties on Pursuit CircleCI

Get a list of CSS properties. Or get a list of CSS values of a property.

Usage

csstree is used underneath, install it by

# Note the npm package name is css-tree, not csstree!
npm i css-tree

In pulp repl

> import CSS.Property (properties, getValues)
> properties
["--*","-ms-accelerator","-ms-block-progression","-ms-content-zoom-chaining","-ms-content-zooming","-ms-content-zoom-li... ...
> getValues "position"
["static","relative","absolute","sticky","fixed","-webkit-sticky"]
Modules
CSS.Property
Dependencies