package tiny_languages

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module CssSource

Sourcetype rule = {
  1. selector : Selectors.complex;
  2. declarations : (string * string) list;
  3. important : string list;
}
Sourcetype sheet = rule list
Sourceval parse : string -> sheet
Sourceval declarations : string -> (string * string) list
Sourceval specificity : Selectors.complex -> int * int * int
Sourceval matches : Selectors.complex -> Dom.element list -> Dom.element -> bool
Sourceval page_sheet : Dom.element -> string
Sourceval cascade : sheet -> Dom.element -> Dom.element -> (string * string) list