We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87883c3 commit b77c58bCopy full SHA for b77c58b
css-nesting-1/Overview.bs
@@ -465,6 +465,38 @@ Nesting Conditional Rules {#conditionals}
465
}
466
*/
467
468
+ .foo {
469
+ display: grid;
470
+
471
+ @media (orientation: landscape) {
472
+ & {
473
+ grid-auto-flow: column;
474
+ }
475
476
+ @media (min-inline-size > 1024px) {
477
478
+ max-inline-size: 1024px;
479
480
481
482
483
484
+ /* equivalent to
485
+ .foo { display: grid; }
486
487
488
489
490
491
492
493
+ @media (orientation: landscape) and (min-inline-size > 1024px) {
494
495
496
497
498
+ */
499
500
.foo {
501
color: red;
502
0 commit comments