Add parent selector to user variable

This commit is contained in:
Luke Page
2012-08-19 12:02:58 +01:00
parent 0a5245b2c3
commit 85ddc9f4e7
3 changed files with 43 additions and 2 deletions

View File

@@ -107,3 +107,16 @@ a {
::bnord {color: red }
&::bnord {color: red }
}
.a {
(~".b") {
color: red;
}
&(~".c") {
color: black;
}
@d: 3;
:nth-child(@d) {
color: purple;
}
}