summaryrefslogtreecommitdiff
path: root/node_modules/doiuse/data/features/css-when-else.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/doiuse/data/features/css-when-else.js')
-rw-r--r--node_modules/doiuse/data/features/css-when-else.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/node_modules/doiuse/data/features/css-when-else.js b/node_modules/doiuse/data/features/css-when-else.js
new file mode 100644
index 00000000..d449b9d3
--- /dev/null
+++ b/node_modules/doiuse/data/features/css-when-else.js
@@ -0,0 +1,12 @@
+/**
+ * CSS @when / @else conditional rules
+ * Syntax allowing CSS conditions (like media and support queries) to be written more simply, as well as making it possibly to write mutually exclusive rules using `@else` statements.
+ * @see https://caniuse.com/css-when-else
+ */
+
+import { checkAtRule } from '../../utils/util.js';
+
+/**
+ * @type {import('../features').Feature}
+ */
+export default checkAtRule(['when', 'else']);