(** CSS Grid layout utilities *) (** Grid configuration *) type t (** Grid template columns *) type cols = [ | `None | `Subgrid | `Cols of int (** 1-12 columns *) ] (** Grid template rows *) type rows = [ | `None | `Subgrid | `Rows of int (** 1-12 rows *) ] (** Grid column/row span *) type span = [ | `Auto | `Full | `Span of int | `Start of int | `End of int ] (** Grid auto flow *) type flow = [ | `Row | `Col | `Dense | `Row_dense | `Col_dense ] (** Set grid template columns *) val template_cols : cols -> t (** Set grid template rows *) val template_rows : rows -> t (** Set grid column span *) val col : span -> t (** Set grid row span *) val row : span -> t (** Set grid auto flow *) val auto_flow : flow -> t (** Set grid auto columns *) val auto_cols : [`Auto | `Min | `Max | `Fr of int] -> t (** Set grid auto rows *) val auto_rows : [`Auto | `Min | `Max | `Fr of int] -> t (** Convert to CSS class *) val to_class : t -> Css.t (** Combine multiple grid properties *) val combine : t list -> Css.t