Skip to content

Commit 87cdee9

Browse files
committed
[css-nesting-1][editorial] Clean up some examples slightly.
1 parent f8b15aa commit 87cdee9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

css-nesting-1/Overview.bs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -805,8 +805,8 @@ Nesting Selector: the ''&'' selector {#nest-selector}
805805

806806
<pre class=lang-css>
807807
.a1, .a2, .a3 {
808-
& .b1, & .b3, & .b3 {
809-
& .c1, & .c2, & .c3 {
808+
.b1, .b3, .b3 {
809+
.c1, .c2, .c3 {
810810
...;
811811
}
812812
}
@@ -873,7 +873,8 @@ Nesting Selector: the ''&'' selector {#nest-selector}
873873
but only if it's also a <{div}> element".
874874

875875
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=].
876+
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).
877878
</div>
878879

879880

0 commit comments

Comments
 (0)