fixed a bug when using @media with mixins

This commit is contained in:
Marcel Jackwerth
2012-02-17 11:57:31 +01:00
parent 081c26dc9a
commit 1ba622dd8d
3 changed files with 60 additions and 13 deletions

View File

@@ -52,4 +52,24 @@ body {
width: 100%;
}
}
}
.mediaMixin(@fallback: 200px) {
background: black;
@media handheld {
background: white;
@media (max-width: @fallback) {
background: red;
}
}
}
.a {
.mediaMixin(100px);
}
.b {
.mediaMixin();
}