diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-10-30 16:45:38 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-10-30 16:45:38 +0800 |
| commit | a0579f91bbdf0de62b59df381d97a008bb98df57 (patch) | |
| tree | 69c21333750c7bc7358f9383560438048d9adebf /node_modules/postcss-unmq/test/fixtures | |
| parent | 2d8aeba452672bcda2096e5d76bf37131c34075e (diff) | |
update/upgrade
Diffstat (limited to 'node_modules/postcss-unmq/test/fixtures')
5 files changed, 91 insertions, 0 deletions
diff --git a/node_modules/postcss-unmq/test/fixtures/basic.actual.css b/node_modules/postcss-unmq/test/fixtures/basic.actual.css new file mode 100644 index 00000000..5db6ce73 --- /dev/null +++ b/node_modules/postcss-unmq/test/fixtures/basic.actual.css @@ -0,0 +1,14 @@ +a { + + min-width: 30em +} + +a { + + min-width: 60em +} + +a { + + line-height: 2 +} diff --git a/node_modules/postcss-unmq/test/fixtures/basic.css b/node_modules/postcss-unmq/test/fixtures/basic.css new file mode 100644 index 00000000..178e89a7 --- /dev/null +++ b/node_modules/postcss-unmq/test/fixtures/basic.css @@ -0,0 +1,35 @@ +@media screen and (min-width: 30em) { + a { + min-width: 30em; + } +} + +@media screen and (min-width: 60em) { + a { + min-width: 60em; + } +} + +@media screen and (max-width: 30em) { + a { + max-width: 30em; + } +} + +@media screen and (max-width: 60em) { + a { + max-width: 60em; + } +} + +@media screen and (min-aspect-ratio: 1) { + a { + line-height: 2; + } +} + +@media screen and (max-aspect-ratio: 1) { + a { + line-height: .5; + } +} diff --git a/node_modules/postcss-unmq/test/fixtures/basic.expect.css b/node_modules/postcss-unmq/test/fixtures/basic.expect.css new file mode 100644 index 00000000..5db6ce73 --- /dev/null +++ b/node_modules/postcss-unmq/test/fixtures/basic.expect.css @@ -0,0 +1,14 @@ +a { + + min-width: 30em +} + +a { + + min-width: 60em +} + +a { + + line-height: 2 +} diff --git a/node_modules/postcss-unmq/test/fixtures/basic.width.actual.css b/node_modules/postcss-unmq/test/fixtures/basic.width.actual.css new file mode 100644 index 00000000..5f7eab91 --- /dev/null +++ b/node_modules/postcss-unmq/test/fixtures/basic.width.actual.css @@ -0,0 +1,14 @@ +a { + + max-width: 30em +} + +a { + + max-width: 60em +} + +a { + + line-height: .5 +} diff --git a/node_modules/postcss-unmq/test/fixtures/basic.width.expect.css b/node_modules/postcss-unmq/test/fixtures/basic.width.expect.css new file mode 100644 index 00000000..5f7eab91 --- /dev/null +++ b/node_modules/postcss-unmq/test/fixtures/basic.width.expect.css @@ -0,0 +1,14 @@ +a { + + max-width: 30em +} + +a { + + max-width: 60em +} + +a { + + line-height: .5 +} |
