mixin.scss 318 B

12345678910111213141516171819
  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. }
  8. .clearfix{
  9. zoom: 1;
  10. &::after{
  11. content: '';
  12. display: block;
  13. visibility: hidden;
  14. height: 0;
  15. clear: both;
  16. }
  17. }