Function is_matching_shadow

Source
pub fn is_matching_shadow(value: &str) -> bool
Expand description

Returns whether the CSS value is a shadow.

ยงExample

use encre_css::utils::value_matchers::is_matching_shadow;
assert!(is_matching_shadow("1px 2rem 10px 10px rgb(12,12,12)"));
OSZAR »