Skip to content

Instantly share code, notes, and snippets.

@Tigraine
Created February 9, 2012 10:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tigraine/1779029 to your computer and use it in GitHub Desktop.
Save Tigraine/1779029 to your computer and use it in GitHub Desktop.
dotless import problem
@import "mixins.less";
.content
{
border: 3px solid red;
.curves(4px);
}
@import "layout.less";
@import "content.less";
body
{
border: 5px solid #000;
.curves(10px);
}
.curves(@radius)
{
border-radius: @radius;
}
body {
border: 5px solid #000;
border-radius: 10px;
border-radius: 10px;
}
.content {
border: 3px solid red;
border-radius: 4px;
border-radius: 4px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment