I’ve used bs-css to write CSS in OCaml.
It allows you to write something like:
open CSS
let card = style
[
display flexBox;
flexDirection column;
boxShadow ~y:(px 3) ~blur:(px 5) (rgba 0 0 0 0 0.3);
]
I’ve used bs-css to write CSS in OCaml.
It allows you to write something like:
open CSS
let card = style
[
display flexBox;
flexDirection column;
boxShadow ~y:(px 3) ~blur:(px 5) (rgba 0 0 0 0 0.3);
]