Skip to content

Commit ea34234

Browse files
[css-nesting] Fix Nesting Conditional Rules example (#6562)
1 parent d9fdc1e commit ea34234

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

css-nesting-1/Overview.bs

+7-5
Original file line numberDiff line numberDiff line change
@@ -554,11 +554,13 @@ Nesting Conditional Rules {#conditionals}
554554
}
555555
}
556556
/* equivalent to
557-
.foo { display: grid; }
558-
559-
@media (orientation: landscape) {
560-
& {
561-
grid-auto-flow: column;
557+
.foo {
558+
display: grid;
559+
560+
@media (orientation: landscape) {
561+
& {
562+
grid-auto-flow: column;
563+
}
562564
}
563565
}
564566
*/

0 commit comments

Comments
 (0)