We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dad6b60 commit 6b7d920Copy full SHA for 6b7d920
1 file changed
css-nesting-1/Overview.bs
@@ -396,6 +396,12 @@ Syntax {#syntax}
396
:is(.error, #404):hover > .baz { color: red; }
397
*/
398
399
+ .ancestor .el {
400
+ .other-ancestor & { color: red; }
401
+ }
402
+ /* equivalent to
403
+ .other-ancestor :is(.ancestor .el) { color: red; }
404
+
405
<b>/* As can the nested selector */</b>
406
.foo {
407
& :is(.bar, &.baz) { color: red; }
0 commit comments