You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

11 lines
169 B

  1. @function rem($size, $unit:"") {
  2. $remSize: $size / $root-font-size;
  3. @if ($unit == false) {
  4. @return #{$remSize};
  5. }
  6. @else {
  7. @return #{$remSize}rem;
  8. }
  9. }