pub fn is_matching_gradient(value: &str) -> boolExpand description
Returns whether the CSS value has the <gradient> type.
ยงExample
use encre_css::utils::value_matchers::is_matching_gradient;
assert!(is_matching_gradient("linear-gradient(45deg, blue, red);"));