Crate wasm_css

Source

Modules§

components
delete
error
extend_from_css
extend_from_style
macros
remove_keys

Macros§

extend_style_from_css
Extend Style with css, re-rendering if new_css is not empty.
named_style
Create a Style from css with a css_name, rendering it to the DOM as a <style> in <head>. The css is formatted, minfied, and small errors like invalid semi-colons can be corrected, however invalid CSS itself is not handled by the parser.
reduce_style
Reduce a Style by removing keys, re-rendering if at-least one key is removed.
style
Create a Style from css, rendering it to the DOM as a <style> in <head>. The css is formatted, minfied, and small errors like invalid semi-colons can be corrected, however invalid CSS itself is not handled by the parser.

Structs§

Style
Represents a <style> child in the <head> element containing CSS.