summaryrefslogtreecommitdiff
path: root/node_modules/doiuse/data/features/css-when-else.js
blob: d449b9d32882b834df4a1016f632e0d01211f96d (plain)
1
2
3
4
5
6
7
8
9
10
11
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']);