Skip to content

nonbili/purescript-css-properties

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

purescript-css-properties

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"]