Dimension.css(
String cssValue
)

Construct a Dimension object from the valid, simple CSS string cssValue that represents a distance measurement.

This constructor is intended as a convenience method for working with simplistic CSS length measurements. Non-numeric values such as auto or inherit or invalid CSS will cause this constructor to throw a FormatError.