Gerillass 3.0.0 is out. One gradient mixin replaces two, and text-gradient takes its colours first, so read the migration guide before you upgrade.
Gerillass
v3.0.0Type: Function
remify();
Converts a pixel length to rem, against a 16px root.
Changed in Gerillass 2.0.0: this function used to be called __remify. The __ prefix has been dropped from every utility function. The old name does not raise an error, because Sass passes an unknown function through as literal CSS, so check your stylesheets for any __ names left over.
Arguments
| Name | Type | Description |
|---|---|---|
$value | number (with unit) | Accepts a pixel length. |
Examples
Pixel sizes emitted as rem.
.title {
font-size: remify(30px);
margin-bottom: remify(12px);
}.title {
font-size: 1.875rem;
margin-bottom: 0.75rem;
}