I'm trying to play around on bootstrap 3. I would like to create a custom less file (say custom_img.less) and import it to bootstrap.less. However, when I tried to compile the less to css, I got the error ParseError: UNrecognize input in xxxx. Please see the code below.
custom_img.less
.img-custom {
@media (min-width: @grid-float-breakpoint) {
width: 50%*@grid-float-breakpoint;
height: 50%@grid-float-breakpoint;
}
}
Importing it in bootstrap.less
@import "wells.less";
@import "close.less";
@import "custom_img.less";
The error is this- ParseError: Unrecognised input in XXXXX in
.img-custom {
What is wrong/missing? do I need to import something?
Thank you in advance.