module Length: sig
.. end
type
t =
| |
Zero |
| |
Em of float |
| |
Ex of float |
| |
Px of float |
| |
Gd of float |
| |
Rem of float |
| |
Vw of float |
| |
Vh of float |
| |
Vm of float |
| |
Ch of float |
| |
Mm of float |
| |
Cm of float |
| |
In of float |
| |
Pt of float |
| |
Pc of float |
The type of length attributes. Mdc documentation:
https://developer.mozilla.org/en/CSS/length and specification:
http://www.w3.org/TR/css3-values/#lengths
type
js_t = private Js.js_string Js.t
Js representation of lengths.
Conversion functions
val string_of_t : t -> string
val js : t -> js_t
val ml : js_t -> t