1
I’m trying to add one number with a string and LESS is not interpreting as I wanted, see the example:
@screen-sm: 768;
@screen-md: 1024;
.col-tablet(@rules) {
@media (min-width: @screen-sm+'px') and (max-width: @screen-md+-1+'px') {
@rules();
}
}
.col-tablet({
display: block;
});
and the exit:
@media (min-width: 768 'px') and (max-width: 1024+-1 'px') {
display: block;
}