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§
- Minify
Options - Options for the
minifyfunction of a StyleSheet or StyleAttribute. - Parser
Flags - Parser feature flags to enable.
- Parser
Options - CSS parsing options.
- Style
Attribute - An inline style attribute, as in HTML or SVG.
- Style
Sheet - A CSS style sheet, representing a
.cssfile or inline<style>element. - ToCss
Result - A result returned from
to_css, including the serialize CSS and other metadata depending on the input options.