Skip to content

Commit 275ae88

Browse files
committed
Add new files for other syntax issues
1 parent 17753da commit 275ae88

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@import url("green.css") layer supports(selector(&)) (min-width: calc(10px));
2+
3+
/* layer as a function */
4+
@import url("green.css") layer(bar) supports(selector(&)) (min-width: calc(10px));
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/**
2+
* AT MEDIA PROPERTY
3+
*/
4+
5+
/* Missing token for `prefers-reduced-motion: reduce` */
6+
@media (prefers-reduced-motion: reduce) {}

.dev-assets/syntax-issues/of-not.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
.item > div:nth-child(1 of :not(.hidden)) {
2+
padding-left: var(--item_margin);
3+
}
4+
5+
.item > div:nth-last-child(1 of :not(.hidden)) {
6+
padding-right: var(--item_margin);
7+
}
8+
9+
.item {
10+
& > div {
11+
&:nth-child(1 of :not(.hidden)) {
12+
padding-left: var(--item_margin);
13+
}
14+
&:nth-last-child(1 of :not(.hidden)) {
15+
padding-right: var(--item_margin);
16+
}
17+
}
18+
}

0 commit comments

Comments
 (0)