Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ----
- // libsass (v3.2.5)
- // ----
- $font-size1: 12;
- $font-size2: 24;
- @mixin line-height($lh){
- line-height: ($lh/10) +px;
- line-height: ($lh*1.5) +rem;
- }
- @mixin font-size($size){
- @include line-height($size);
- font-size: $size+px;
- font-size: $size+rem;
- }
- .test {
- @include font-size($font-size2);
- }
- .bob {
- @include font-size($font-size1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement