mixin.scss 158 B

12345678
  1. $vari : 1920 / 640;
  2. @function px2rem($size){
  3. @return $size / 20 / 2 / $vari + rem;
  4. }
  5. @function -px2rem($size){
  6. @return - $size / 20 / 2 / $vari + rem;
  7. }