I would like to make own mixin wtih mediaqueries like this.
@maxWidth: 1170px;
.breakpoint(@maxWidth) {
@media screen and (max-width: @maxWidth) {
@content;
}
}
But @media in mixin doesn't work. Support it lessphp or not? If not, how can I fix it?
P.S. I don't want to make a lot of copies of this rule (@media screen and (max-width: @maxWidth)) in my all .less files.
Thanks!