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(cssValue)
cssValue | The value to cleanup. |
---|
The cleaned value.