Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/threepointone/bs-nice

css-in-reason
https://github.com/threepointone/bs-nice

Last synced: about 1 month ago
JSON representation

css-in-reason

Lists

README

        

(work in progress)

## nice

css-in-reason. just because.

```reason
open Nice;

let className = css([|
Display(Flex),
AlignItems(Center),
Color(Red),
Select(":hover", [Color(Blue)])
|]);
```

## some nice features

* pure reason
* typed css
* glamor-style composition
* escape hatch - `Raw(key, value)`

## todo

* vendor prefixing
* keyframes / animations
* font-faces
* better types
* ~ hot reloading
* benchmarks / tests