3 /// Sets the `width` and `height` of the element in one statement.
5 /// @argument {number (with unit) | string} $width
7 /// @argument {number (with unit) | string} $height [$width]
11 /// @include size(2em);
22 /// @include size(auto, 10em);
31 /// @require {function} _is-size
37 @if _is-size($height) {
40 @error "`#{$height}` is not a valid length for the `$height` argument " +
41 "in the `size` mixin.";
44 @if _is-size($width) {
47 @error "`#{$width}` is not a valid length for the `$width` argument " +
48 "in the `size` mixin.";