mirror of
https://github.com/less/less.js.git
synced 2026-05-01 03:00:22 -04:00
selectors.less now passes tests
This commit is contained in:
@@ -1,13 +1,32 @@
|
||||
h1 a:hover { color: red; }
|
||||
h1 p:hover { color: red; }
|
||||
h2 a:hover { color: red; }
|
||||
h2 p:hover { color: red; }
|
||||
h3 a:hover { color: red; }
|
||||
h3 p:hover { color: red; }
|
||||
#all, #the, #same { color: blue; }
|
||||
ul, li, div, q, blockquote, textarea { margin: 0; }
|
||||
h1 a:hover,
|
||||
h2 a:hover,
|
||||
h3 a:hover,
|
||||
h1 p:hover,
|
||||
h2 p:hover,
|
||||
h3 p:hover {
|
||||
color: red;
|
||||
}
|
||||
#all {
|
||||
color: blue;
|
||||
}
|
||||
#the {
|
||||
color: blue;
|
||||
}
|
||||
#same {
|
||||
color: blue;
|
||||
}
|
||||
ul,
|
||||
li,
|
||||
div,
|
||||
q,
|
||||
blockquote,
|
||||
textarea {
|
||||
margin: 0;
|
||||
}
|
||||
td {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
td, input { line-height: 1em; }
|
||||
td, input {
|
||||
line-height: 1em;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
h1, h2, h3 {
|
||||
a, p {
|
||||
:hover {
|
||||
&:hover {
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user