less.js: @media print triggers extend missing?
I found:
@media print {}
.test {
color: red;
}
p {
&:extend(.test);
}
generates:
extend ' .test' has no matches
related:
https://github.com/twbs/bootstrap/issues/15792 http://stackoverflow.com/questions/28450144/bootstrap-bootswatch-theme-with-less-how-to-compile http://stackoverflow.com/questions/28475730/compiling-bootstrap-less-shows-errors-warnings
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 16 (8 by maintainers)
I had this mistake “extend ’ .clearfix’ has no matches”
less v 2.5.0 on windows/mac
But after some time in bootstrap less (file utilities.less) I found this
.clearfix { .clearfix(); }
Now it works