We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8b15aa commit 87cdee9Copy full SHA for 87cdee9
css-nesting-1/Overview.bs
@@ -805,8 +805,8 @@ Nesting Selector: the ''&'' selector {#nest-selector}
805
806
<pre class=lang-css>
807
.a1, .a2, .a3 {
808
- & .b1, & .b3, & .b3 {
809
- & .c1, & .c2, & .c3 {
+ .b1, .b3, .b3 {
+ .c1, .c2, .c3 {
810
...;
811
}
812
@@ -873,7 +873,8 @@ Nesting Selector: the ''&'' selector {#nest-selector}
873
but only if it's also a <{div}> element".
874
875
It could also be written as ''div&'' with the same meaning,
876
- but that wouldn't be valid to start a [=directly nested=] [=style rule=].
+ but that wouldn't be valid to start a [=nested style rule=]
877
+ (but it could be used somewhere other than the very start of the selector).
878
</div>
879
880
0 commit comments