This is how I wrote it, but I get
Parse Error: Unrecognised Input
How can I circumvent this?
I do not want to declare individual mixin for focus, active and disabled states.
I am using WinLess for compiling on Windows 7.
- WinLess version:1.9.1
- Less.js version:2.1.2
Here is my code
.state(@state,@property,@colour){
&:@{state}{
@{property}:@colour;
}
}
Any help is appreciated.