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/ja/web/css/scroll-padding-bottom/index.html | 76 +++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 files/ja/web/css/scroll-padding-bottom/index.html (limited to 'files/ja/web/css/scroll-padding-bottom') diff --git a/files/ja/web/css/scroll-padding-bottom/index.html b/files/ja/web/css/scroll-padding-bottom/index.html new file mode 100644 index 0000000000..e0fd1afbf2 --- /dev/null +++ b/files/ja/web/css/scroll-padding-bottom/index.html @@ -0,0 +1,76 @@ +--- +title: scroll-padding-bottom +slug: Web/CSS/scroll-padding-bottom +tags: + - CSS + - CSS Property + - CSS プロパティ + - Reference + - Web + - scroll-padding + - scroll-padding-bottom +translation_of: Web/CSS/scroll-padding-bottom +--- +
{{CSSRef}}
+ +

scroll-padding-bottom プロパティは、スクロールポートの最適表示領域の下のオフセットを定義します。ユーザーのビュー内でものを配置するためのターゲット領域として使用される領域です。これにより、他のコンテンツ (固定位置のツールバーやサイドバーなど) によって隠されているスクロールポートの領域を除外したり、単にターゲット要素とスクロールポートの端との間により多くの余裕を持たせたりすることができます。

+ +
{{EmbedInteractiveExample("pages/css/scroll-padding-bottom.html")}}
+ + + +

{{cssinfo}}

+ +

構文

+ +
/* キーワード値 */
+scroll-padding-bottom: auto;
+
+/* <length> 値 */
+scroll-padding-bottom: 10px;
+scroll-padding-bottom: 1em;
+scroll-padding-bottom: 10%;
+
+/* グローバル値 */
+scroll-padding-bottom: inherit;
+scroll-padding-bottom: initial;
+scroll-padding-bottom: unset;
+
+ +

+ +
+
<length-percentage>
+
スクロールポートの下辺からの内側のオフセットで、有効な長さまたはパーセント値です。
+
auto
+
オフセットはユーザーエージェントが決定します。これは一般に 0px になりますが、ゼロ以外の値がもっと適切である場合をユーザーエージェントが検出して、他の値を採用することもできます。
+
+ +

形式文法

+ +
{{csssyntax}}
+ +

仕様書

+ + + + + + + + + + + + + + + + +
仕様書状態備考
{{SpecName("CSS Scroll Snap Points", "#propdef-scroll-padding-bottom", "scroll-padding-bottom")}}{{Spec2("CSS Scroll Snap Points")}}初回定義
+ +

ブラウザーの互換性

+ + + +

{{Compat("css.properties.scroll-padding-bottom")}}

-- cgit v1.2.3-54-g00ecf