Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Commit 1a18d96

Browse files
committed
Prepare examples for incoming custom-selector changes before fixing #97
1 parent 2e93dd3 commit 1a18d96

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docs/content/playground.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
}
3535

3636
/* custom selectors */
37-
@custom-selector --heading h1, h2, h3, h4, h5, h6;
38-
--heading { margin-top: 0 }
37+
@custom-selector :--heading h1, h2, h3, h4, h5, h6;
38+
:--heading { margin-top: 0 }
3939

4040
/* colors stuff */
4141
a {

test/fixtures/cases/example.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ body {
2424
}
2525

2626
/* custom selectors */
27-
@custom-selector --heading h1, h2, h3, h4, h5, h6;
28-
--heading { margin-top: 0 }
27+
@custom-selector :--heading h1, h2, h3, h4, h5, h6;
28+
:--heading { margin-top: 0 }
2929

3030
/* colors stuff */
3131
a {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
@custom-selector --heading h1, h2, h3, h4, h5, h6;
1+
@custom-selector :--heading h1, h2, h3, h4, h5, h6;
22

3-
article --heading + p{
3+
article :--heading + p{
44
margin-top: 0;
55
}

0 commit comments

Comments
 (0)