Im working here with Less CSS. All things went fine, but now I get a small error. I have two smaller files. The first is called "colors.less", where I declared the colors vars, and the second is the css structure.
Something like that:
color.less
@black:
styles.less
@import "color";
body {
background: @black;
}
In my tag, I write it:
<link rel="stylesheet/less" type="text/css" href="less/styles.less"/>
And of course import less js.
What happens when I change black to white (#fff), it doesn't change to white. The frames are black. When I change the logic, import the styles inside the color, it changes, but my styles do not change.
What am I doing wrong?
Thanks guys!
source
share