mirror of
https://github.com/less/less.js.git
synced 2026-02-03 19:45:00 -05:00
dynamic selectors
Allows things like:
a:nth-child(@var) {}
This commit is contained in:
@@ -22,3 +22,6 @@
|
||||
.alpha {
|
||||
filter: alpha(opacity=42);
|
||||
}
|
||||
a:nth-child(2) {
|
||||
border: 1px;
|
||||
}
|
||||
|
||||
@@ -48,3 +48,7 @@
|
||||
@var: 42;
|
||||
filter: alpha(opacity=@var);
|
||||
}
|
||||
|
||||
a:nth-child(@a) {
|
||||
border: 1px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user