package tiny_languages

  1. Overview
  2. Docs
Small languages from scratch: Scheme, Lisp, Smalltalk-80, Pascal, BASIC, JavaScript, HTML, CSS and more

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.3.6.tar.gz
md5=7c636383d146d30ac6f2fa234a6253c8
sha512=c79f3823c5f8f57e5038eb640d487c61168b84aa07c61999d6622ef9fd0c890e2b03b4c6a7cdbbe9352a49e25dda00ac7bb14693cee8e3d7beeed251351a2af0

doc/tiny_languages.lang_css/Css_values/index.html

Module Css_valuesSource

Sourcetype length = {
  1. px : float;
  2. pct : float;
}
Sourcetype color = {
  1. r : int;
  2. g : int;
  3. b : int;
  4. a : float;
}
Sourcetype context = {
  1. em : float;
  2. rem : float;
  3. viewport_width : float;
  4. viewport_height : float;
}
Sourceval resolve : length -> float -> float
Sourceval px : float -> length
Sourceval zero : length
Sourceval substitute : (string -> Css_syntax.component list option) -> Css_syntax.component list -> Css_syntax.component list option
Sourceval length : context -> Css_syntax.component -> length option
Sourceval color : current:color -> Css_syntax.component list -> color option
Sourceval black : color
Sourceval transparent : color