package virtual_dom

  1. Overview
  2. Docs
type t = [
  1. | `Ch of float
  2. | `Rem of float
  3. | `Em of int
  4. | `Percent of Core_kernel.Percent.t
  5. | `Pt of float
  6. | `Px of int
  7. | `Vh of Core_kernel.Percent.t
  8. | `Vw of Core_kernel.Percent.t
  9. | css_global_values
]
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val t_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> t
val __t_of_sexp__ : Ppx_sexp_conv_lib.Sexp.t -> t
val compare : t -> t -> int
val percent100 : t

Convenience around `Percent (Percent.of_percentage 100.)

val to_string_css : t -> string
OCaml

Innovation. Community. Security.