CSSerpent.raw_css
You're seeing just the function
raw_css
, go back to CSSerpent module for more information.
Specs
raw_css([CSSerpent.Rule.t()] | CSSerpent.Rule.t()) :: String.t()
Converts parsed CSS to raw CSS.
Example
iex> CSSerpent.raw_css(%CSSerpent.Rule{props: [%{property: "color", value: "green"}], selector: "p"})
"p{color:green}"
iex> CSSerpent.raw_css([%CSSerpent.Rule{props: [%{property: "color", value: "blue"}], selector: "p"}])
"p{color:blue}"