From f7c2a316bb9e875683a9e81fb6aef8d1fc133a38 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Sun, 14 Nov 2021 11:00:39 +0900 Subject: CSS Borders に関するプロパティの文書の変換準備 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- files/ja/web/css/border-bottom/index.html | 137 ------------------------------ 1 file changed, 137 deletions(-) delete mode 100644 files/ja/web/css/border-bottom/index.html (limited to 'files/ja/web/css/border-bottom/index.html') diff --git a/files/ja/web/css/border-bottom/index.html b/files/ja/web/css/border-bottom/index.html deleted file mode 100644 index 5e1710479f..0000000000 --- a/files/ja/web/css/border-bottom/index.html +++ /dev/null @@ -1,137 +0,0 @@ ---- -title: border-bottom -slug: Web/CSS/border-bottom -tags: - - CSS - - CSS Borders - - CSS Property - - Reference - - 'recipe:css-shorthand-property' -translation_of: Web/CSS/border-bottom ---- -
{{CSSRef}}
- -

border-bottom一括指定CSS のプロパティで、要素の下側の境界のプロパティをすべて設定します。

- -
{{EmbedInteractiveExample("pages/css/border-bottom.html")}}
- - - -

他の一括指定プロパティと同様に、 border-bottom は、一部の値が指定されていなくても、設定可能なプロパティをすべて設定します。指定されていないプロパティは既定値が設定されます。つまり・・・

- -
border-bottom-style: dotted;
-border-bottom: thick green;
-
- -

・・・は、実際には以下と同じです・・・

- -
border-bottom-style: dotted;
-border-bottom: none thick green;
-
- -

・・・そして、 border-bottom の前で設定された {{cssxref("border-bottom-style")}} の値は無視されます。 {{cssxref("border-bottom-style")}} の既定値は none なので、 border-style の部分の設定は境界線なしとなります。

- -

構成要素のプロパティ

- -

このプロパティは以下の CSS プロパティの一括指定です。

- - - -

構文

- -
border-bottom: 1px;
-border-bottom: 2px dotted;
-border-bottom: medium dashed blue;
-
- -

一括指定プロパティの3つの値は任意の順序で指定可能で、また、1つまたは2つの値を省略することができます。

- -

- -
-
<br-width>
-
{{cssxref("border-bottom-width")}} を参照してください。
-
<br-style>
-
{{cssxref("border-bottom-style")}} を参照してください。
-
{{cssxref("<color>")}}
-
{{cssxref("border-bottom-color")}} を参照してください。
-
- -

公式定義

- -

{{CSSInfo}}

- -

形式文法

- -{{csssyntax}} - -

- -

下の境界の適用

- -

HTML

- -
<div>
-  このボックスには下側に境界線があります。
-</div>
- -

CSS

- -
div {
-  border-bottom: 4px dashed blue;
-  background-color: gold;
-  height: 100px;
-  width: 100px;
-  font-weight: bold;
-  text-align: center;
-}
-
- -

結果

- -

{{EmbedLiveSample('Applying_a_bottom_border')}}

- -

仕様書

- - - - - - - - - - - - - - - - - - - - - - - - - - -
仕様書状態備考
{{SpecName('CSS3 Backgrounds', '#propdef-border-bottom', 'border-bottom')}}{{Spec2('CSS3 Backgrounds')}}直接的な変更はないが、 {{cssxref("border-bottom-color")}} に適用される値が変更された。
{{SpecName('CSS2.1', 'box.html#propdef-border-bottom', 'border-bottom')}}{{Spec2('CSS2.1')}}有意な変更点なし。
{{SpecName('CSS1', '#border-bottom', 'border-bottom')}}{{Spec2('CSS1')}}初回定義
- -

ブラウザーの互換性

- -

{{Compat("css.properties.border-bottom")}}

- -

関連情報

- - -- cgit v1.2.3-54-g00ecf