Gerillass 2.0.0 is out. It renames every utility function and replaces two mixins with one, so read the migration guide before you upgrade.
Gerillass
v2.1.0Type: Function
validateScissors();
Normalises corner values for the scissors mixin, adding px where missing.
Arguments
| Name | Type | Description |
|---|---|---|
$value | number | Accepts one to four numbers, with or without units. |
Examples
Corner values normalised the way the scissors mixin does it internally.
.element {
--corners: #{validateScissors(12px 0)};
}.element {
--corners: 12px, 0px;
}