Skip to content

Commit 283275e

Browse files
authored
1 parent 3032c66 commit 283275e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

css/css-nesting/nesting-basic.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,17 @@
8888
background-color: red !important;
8989
}
9090

91+
.test-13::before {
92+
background-color: green;
93+
color: green;
94+
content: "text";
95+
}
96+
.test-13::before {
97+
& {
98+
background-color: red;
99+
}
100+
}
101+
91102
body * + * {
92103
margin-top: 8px;
93104
}
@@ -109,4 +120,5 @@
109120
<div class="test test-10"><div></div></div>
110121
<div class="test test-11"><div></div></div>
111122
<div class="test test-12"></div>
123+
<div class="test test-13"></div>
112124
</body>

0 commit comments

Comments
 (0)