Module stylesheet

Source
Expand description

CSS style sheets and style attributes.

A StyleSheet represents a .css file or <style> element in HTML. A StyleAttribute represents an inline style attribute in HTML.

Re-exports§

pub use crate::printer::PrinterOptions;
pub use crate::printer::PseudoClasses;

Structs§

MinifyOptions
Options for the minify function of a StyleSheet or StyleAttribute.
ParserFlags
Parser feature flags to enable.
ParserOptions
CSS parsing options.
StyleAttribute
An inline style attribute, as in HTML or SVG.
StyleSheet
A CSS style sheet, representing a .css file or inline <style> element.
ToCssResult
A result returned from to_css, including the serialize CSS and other metadata depending on the input options.