doiuse
Version:
Lint CSS for browser support against caniuse database
13 lines (11 loc) • 367 B
JavaScript
/**
* CSS Relative colors
* The CSS Relative Color syntax allows a color to be defined relative to another color using the `from` keyword and optionally `calc()` for any of the color values.
* @see https://caniuse.com/css-relative-colors
*/
/**
* @type {import('../features').Feature}
*/
export default {
'': /((rgb)|(rgba)|(hsl)|(hsla)|(hwb))\(\s*from/,
};