From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/zh-cn/web/css/css_scroll_snap/index.html | 79 ++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 files/zh-cn/web/css/css_scroll_snap/index.html (limited to 'files/zh-cn/web/css/css_scroll_snap') diff --git a/files/zh-cn/web/css/css_scroll_snap/index.html b/files/zh-cn/web/css/css_scroll_snap/index.html new file mode 100644 index 0000000000..bb45ffc102 --- /dev/null +++ b/files/zh-cn/web/css/css_scroll_snap/index.html @@ -0,0 +1,79 @@ +--- +title: CSS Scroll Snap +slug: Web/CSS/CSS_Scroll_Snap +translation_of: Web/CSS/CSS_Scroll_Snap +--- +
{{CSSRef}}
+ +

CSS 滚动快照是 CSS 的模块,它引入滚动捕捉位置,它强制滚动位置,即 {{Glossary("滚动容器")}}的 {{Glossary("滚动端口")}} 在滚动操作完成后可能结束的滚动位置。

+ +
+

注意:此模块的早期版本称为滚动捕捉点,已被弃用。CSS 滚动快照是当前实现。

+
+ +

参考

+ +

容器上的 CSS 属性

+ + + +

子上的 CSS 属性

+ + + +

指南

+ + + +

规范

+ + + + + + + + + + + + + + + + +
规范地位评论
{{SpecName("CSS Scroll Snap Points")}}{{Spec2("CSS Scroll Snap Points")}}初始定义
+ +

浏览器兼容性

+ +

The individual property pages detail the browser compatibility situation for Scroll Snap. Note that at the present time Firefox still implements an old version of the specification. Read the guide to browser compatibility for an overview of how to support both the old and new specification. 

-- cgit v1.2.3-54-g00ecf