.rem() LESS mixin bug fixed
This commit is contained in:
parent
21de6c6757
commit
f82e954fd5
1 changed files with 2 additions and 2 deletions
|
@ -54,8 +54,8 @@
|
|||
// LESS mixins : don't touch or you'll be banned ;)
|
||||
// px to em/rem
|
||||
.rem(@size, @bf: @base-font-size){
|
||||
@rem: @size;
|
||||
font-size: unit(round(@base-font-size * @size), px);
|
||||
@rem: @size / 10;
|
||||
font-size: unit(round(@base-font-size * @size /10), px);
|
||||
font-size: unit(@rem, rem);
|
||||
}
|
||||
.em(@size, @bf: @base-font-size){
|
||||
|
|
Loading…
Reference in a new issue