powered by
cleanCssValue is a utility function that performs some basic cleanup on CSS attribute values. Leading and trailing whitespace is removed. The CSS values "initial" and "inherit" are blocked. The function is vectorised so can be used with arrays.
cleanCssValue
cleanCssValue(cssValue)
The cleaned value.
The value to cleanup.