Module Incr_dom_widgets.Css

type css_global_values = [
| `Inherit
| `Initial
]
include sig ... end
val css_global_values_of_sexp : Base.Sexp.t ‑> css_global_values
val __css_global_values_of_sexp__ : Base.Sexp.t ‑> css_global_values
val sexp_of_css_global_values : css_global_values ‑> Base.Sexp.t
val compare_css_global_values : css_global_values ‑> css_global_values ‑> int
module Color : sig ... end
module Length : sig ... end
module Auto_or_length : sig ... end
type t
include sig ... end
val t_of_sexp : Base.Sexp.t ‑> t
val sexp_of_t : t ‑> Base.Sexp.t
val compare : t ‑> t ‑> int
val create : field:string ‑> value:string ‑> t
val empty : t
val combine : t ‑> t ‑> t

Neither combine nor concat validate that each t is unique. For combine x y, y will override x if they are the same attribute. For concat l, the greatest index of an attribute will prevail.

val (@>) : t ‑> t ‑> t
val concat : t list ‑> t
val to_attr : t ‑> Incr_dom_widgets__.Import.Vdom.Attr.t
val to_string_css : t ‑> string
val box_sizing : [ `Content_box | `Border_box | css_global_values ] ‑> t
val display : [ `Inline | `Block | `Inline_block | `List_item | `Table | `Inline_table | `None | css_global_values ] ‑> t
val visibility : [ `Visible | `Hidden | `Collapse | css_global_values ] ‑> t
val overflow : [ `Visible | `Hidden | `Scroll | `Auto | css_global_values ] ‑> t
val z_index : int ‑> t
val opacity : int ‑> t
type font_style = [
| `Normal
| `Italic
| `Oblique
| css_global_values
]
type font_weight = [
| `Normal
| `Bold
| `Bolder
| `Lighter
| `Number of int
| css_global_values
]
type font_variant = [
| `Normal
| `Small_caps
| css_global_values
]
val font_size : Length.t ‑> t
val font_family : string list ‑> t
val font_style : font_style ‑> t
val font_weight : font_weight ‑> t
val font_variant : font_variant ‑> t
val font : size:Length.t ‑> family:string list ‑> ?⁠style:font_style ‑> ?⁠weight:font_weight ‑> ?⁠variant:font_variant ‑> unit ‑> t
val bold : t
val color : Color.t ‑> t
val background_color : Color.t ‑> t
val text_align : [ `Left | `Right | `Center | `Justify | css_global_values ] ‑> t
val horizontal_align : [ `Left | `Right | `Center | css_global_values ] ‑> t
val vertical_align : [ `Top | `Bottom | `Middle | css_global_values ] ‑> t
val width : Length.t ‑> t
val min_width : Length.t ‑> t
val max_width : Length.t ‑> t
val height : Length.t ‑> t
val min_height : Length.t ‑> t
val max_height : Length.t ‑> t
val padding_top : Length.t ‑> t
val padding_bottom : Length.t ‑> t
val padding_left : Length.t ‑> t
val padding_right : Length.t ‑> t
val padding : ?⁠top:Length.t ‑> ?⁠bottom:Length.t ‑> ?⁠left:Length.t ‑> ?⁠right:Length.t ‑> unit ‑> t
val margin_top : Auto_or_length.t ‑> t
val margin_bottom : Auto_or_length.t ‑> t
val margin_left : Auto_or_length.t ‑> t
val margin_right : Auto_or_length.t ‑> t
val margin : ?⁠top:Auto_or_length.t ‑> ?⁠bottom:Auto_or_length.t ‑> ?⁠left:Auto_or_length.t ‑> ?⁠right:Auto_or_length.t ‑> unit ‑> t
type border_style = [
| `None
| `Hidden
| `Dotted
| `Dashed
| `Solid
| `Double
| `Groove
| `Ridge
| `Inset
| `Outset
| css_global_values
]
val border_top : ?⁠width:Length.t ‑> ?⁠color:Color.t ‑> style:border_style ‑> unit ‑> t
val border_bottom : ?⁠width:Length.t ‑> ?⁠color:Color.t ‑> style:border_style ‑> unit ‑> t
val border_left : ?⁠width:Length.t ‑> ?⁠color:Color.t ‑> style:border_style ‑> unit ‑> t
val border_right : ?⁠width:Length.t ‑> ?⁠color:Color.t ‑> style:border_style ‑> unit ‑> t
val border : ?⁠width:Length.t ‑> ?⁠color:Color.t ‑> style:border_style ‑> unit ‑> t
val border_collapse : [ `Separate | `Collapse | css_global_values ] ‑> t
val border_spacing : Length.t ‑> t
val flex_container : ?⁠inline:bool ‑> ?⁠direction:[ `Row | `Row_reverse | `Column | `Column_reverse ] ‑> ?⁠wrap:[ `Nowrap | `Wrap | `Wrap_reverse ] ‑> unit ‑> t
val flex_item : ?⁠order:int ‑> ?⁠basis:Auto_or_length.t ‑> ?⁠shrink:float ‑> grow:float ‑> unit ‑> t
val animation : name:string ‑> duration:Core_kernel.Time_ns.Span.t ‑> ?⁠delay:Core_kernel.Time_ns.Span.t ‑> ?⁠direction:[ `Normal | `Reverse | `Alternate | `Alternate_reverse | css_global_values ] ‑> ?⁠fill_mode:[ `None | `Forwards | `Backwards | `Both | css_global_values ] ‑> ?⁠iter_count:int ‑> ?⁠timing_function:string ‑> unit ‑> t

Note: You must include the names