is it possible to have different mixin depends on width? how to make it work?
e.g.
.fs (@weight: 300, @size: 2vw, @color: black) {
@size2: @size/10.2;
font-family: 'Lato', sans-serif;
font-weight: @weight;
font-size: unit(@size2,vw);
color: @color;
}
@media screen and (min-width: 1024px){
.fs (@weight: 300, @size: 10px, @color: black) {
font-family: 'Lato', sans-serif;
font-weight: @weight;
font-size: unit(@size,px)!important;
color: @color;
}
}
Thank You