threepointone / bs-nice

css-in-reason

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(work in progress)

nice

css-in-reason. just because.

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

About

css-in-reason


Languages

Language:OCaml 98.9%Language:HTML 0.6%Language:JavaScript 0.5%