From 0379526e20e1ff212df23e6326741aa9c06df204 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sat, 14 Oct 2023 15:50:21 +0800 Subject: added doiuse plugin for postcss --- .../doiuse/data/features/css-snappoints.js | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 node_modules/doiuse/data/features/css-snappoints.js (limited to 'node_modules/doiuse/data/features/css-snappoints.js') diff --git a/node_modules/doiuse/data/features/css-snappoints.js b/node_modules/doiuse/data/features/css-snappoints.js new file mode 100644 index 00000000..52b5649f --- /dev/null +++ b/node_modules/doiuse/data/features/css-snappoints.js @@ -0,0 +1,36 @@ +/** + * CSS Scroll Snap + * CSS technique that allows customizable scrolling experiences like pagination of carousels by setting defined snap positions. + * @see https://caniuse.com/css-snappoints + */ + +/** + * @type {import('../features').Feature} + */ +export default { + 'scroll-snap-type': true, + 'scroll-padding': true, + 'scroll-padding-top': true, + 'scroll-padding-right': true, + 'scroll-padding-bottom': true, + 'scroll-padding-left': true, + 'scroll-padding-inline': true, + 'scroll-padding-inline-start': true, + 'scroll-padding-inline-end': true, + 'scroll-padding-block': true, + 'scroll-padding-block-start': true, + 'scroll-padding-block-end': true, + 'scroll-snap-align': true, + 'scroll-margin': true, + 'scroll-margin-top': true, + 'scroll-margin-right': true, + 'scroll-margin-bottom': true, + 'scroll-margin-left': true, + 'scroll-margin-inline': true, + 'scroll-margin-inline-start': true, + 'scroll-margin-inline-end': true, + 'scroll-margin-block': true, + 'scroll-margin-block-start': true, + 'scroll-margin-block-end': true, + 'scroll-snap-stop': true, +}; -- cgit v1.2.3