Dimension.em constructor

Dimension.em(num _value)

Set this CSS Dimension to the specified number of ems.

1em is equal to the current font size. (So 2ems is equal to double the font size). This is useful for producing website layouts that scale nicely with the user's desired font size.

Implementation

Dimension.em(this._value) : _unit = 'em';