iris-cssom 1.1.4

Iris CSS Object Model (CSSOM) implementation: CSS parsing, style computation, CSS Modules, and Web API
Documentation
  • Coverage
  • 62.26%
    33 out of 53 items documented0 out of 35 items with examples
  • Size
  • Source code size: 27.77 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 848.17 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 46s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • itszzl-sudo/iris
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • itszzl-sudo

iris-cssom

Iris CSS Object Model (CSSOM) implementation: CSS parsing, style computation, CSS Modules, and Web API.

API Overview

  • StyleSheet — Parsed CSS stylesheet with query methods for class and tag selectors.
  • Declaration — A single CSS property-value pair (property: value).
  • css_modules — Scoped class name generation for CSS Modules support.
  • computed — Resolved style computation from matched rules.

Usage

use iris_cssom::StyleSheet;

let css = StyleSheet::parse(".foo { color: red; }").unwrap();
let decls = css.declarations_for_class("foo");

Links