From a0579f91bbdf0de62b59df381d97a008bb98df57 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 30 Oct 2023 16:45:38 +0800 Subject: update/upgrade --- node_modules/postcss-unnth/test/fixtures/basic.css | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 node_modules/postcss-unnth/test/fixtures/basic.css (limited to 'node_modules/postcss-unnth/test/fixtures/basic.css') diff --git a/node_modules/postcss-unnth/test/fixtures/basic.css b/node_modules/postcss-unnth/test/fixtures/basic.css new file mode 100644 index 00000000..8f8da788 --- /dev/null +++ b/node_modules/postcss-unnth/test/fixtures/basic.css @@ -0,0 +1,27 @@ +:nth-child(1) { + color: red; +} + +p:nth-child(1) { + color: red; +} + +.foo:nth-child(1) { + color: red; +} + +.before1 .before2 > :nth-child(1) > .during3 { + color: red; +} + +.before1 .before2 > :nth-child(2) > .during3 { + color: red; +} + +.before1 .before2 > :nth-child(3) > .during3 { + color: red; +} + +.before1 .before2 > .during1:nth-child(4).during2 > .during3 { + color: red; +} -- cgit v1.2.3