Example
Size
Sets size values for the element. If only one value is used, the height and width will be the same. The unit will default to "px".
HTML:
<span class="mixin-example-size">_</span>
SCSS:
.mixin-example-size {
@include size(3, 4, "em");
}
Classes
Mixin | Parameters | Values |
size | x, y, unit | (number), (number), (string) |