This commit is contained in:
Sven Ullmann 2025-07-19 23:58:24 +02:00
commit 58842c665e
69 changed files with 8357 additions and 0 deletions

15
function/_rem.scss Normal file
View file

@ -0,0 +1,15 @@
@function rem($pixel, $basis: 16) {
$negative: false;
@if ($pixel < 0) {
$negative: true;
$pixel: calc($pixel * -1);
}
$rem: calc($pixel / $basis);
@if ($negative) {
$rem: calc($rem * -1);
}
@return $rem + 0rem;
}