diff options
Diffstat (limited to 'node_modules/doiuse/data/features/css-crisp-edges.js')
| -rw-r--r-- | node_modules/doiuse/data/features/css-crisp-edges.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/node_modules/doiuse/data/features/css-crisp-edges.js b/node_modules/doiuse/data/features/css-crisp-edges.js new file mode 100644 index 00000000..31690145 --- /dev/null +++ b/node_modules/doiuse/data/features/css-crisp-edges.js @@ -0,0 +1,12 @@ +/** + * Scales images with an algorithm that preserves edges and contrast, without smoothing colors or introducing blur. This is intended for images such as pixel art. Official values that accomplish this for the `image-rendering` property are `crisp-edges` and `pixelated`. + * + * See: https://caniuse.com/css-crisp-edges + */ + +/** + * @type {import('../features').Feature} + */ +export default { + 'image-rendering': ['crisp-edges', 'pixelated'], +}; |
