Skip to main content

inline_style_to_css_string

Function inline_style_to_css_string 

Source
pub(crate) fn inline_style_to_css_string(pairs: &[Pair]) -> String
Expand description

Serializes a list of key-value pairs into an inline CSS style string.

Each pair is formatted as property:value and joined with ;.