diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-10-14 15:50:21 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-10-14 15:50:21 +0800 |
| commit | 0379526e20e1ff212df23e6326741aa9c06df204 (patch) | |
| tree | 340143b0c4dc4280c88ba1591d137b53477005b3 /node_modules/doiuse/data/features/css-overflow-anchor.js | |
| parent | 7aba14fb7c970c6e6af82c805db2aef6d70bfe2b (diff) | |
added doiuse plugin for postcss
Diffstat (limited to 'node_modules/doiuse/data/features/css-overflow-anchor.js')
| -rw-r--r-- | node_modules/doiuse/data/features/css-overflow-anchor.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/node_modules/doiuse/data/features/css-overflow-anchor.js b/node_modules/doiuse/data/features/css-overflow-anchor.js new file mode 100644 index 00000000..6424835a --- /dev/null +++ b/node_modules/doiuse/data/features/css-overflow-anchor.js @@ -0,0 +1,11 @@ +/** + * Changes in DOM elements above the visible region of a scrolling box can result in the page moving while the user is in the middle of consuming the content. By default, the value of `overflow-anchor` is `auto`, it can mitigate this jarring user experience by keeping track of the position of an anchor node and adjusting the scroll offset accordingly + * @see https://caniuse.com/css-overflow-anchor + */ + +/** + * @type {import('../features').Feature} + */ +export default { + 'overflow-anchor': true, +}; |
