CodeIgniter Forums

Full Version: [SOLVED] Less error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I wonder if anyone knows about less?

custom.less

.slide-upload {
    
    .form-control
    width: 300px;
}

C:\xampp\htdocs\coolcicms\assets\less>lessc custom.less custom.css

ParseError: Unrecognised input in C:\xampp\htdocs\coolcicms\assets\less\custom.less on line
63, column 7:
62 .form-control
63 width: 300px;
64 }
C:\xampp\htdocs\coolcicms\assets\less>
  • Is it possible to create the css file in different folder then the less file? For instance the css file is location in ../css relative to the less file. How to type the syntax to create the less file?
  • Next, why the below command shows some error? Should css syntax also works in less? 300 px; is being highlited in red.