From 33fdcea3f3c7a085d4962e06e3270f91a974670c Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Mon, 15 Nov 2021 01:17:27 +0900 Subject: CSS Borders 関係のプロパティの文書を更新 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 2021/11/13 時点の英語版に同期 --- files/ja/web/css/border-bottom-style/index.md | 137 +++++++++++--------------- 1 file changed, 60 insertions(+), 77 deletions(-) (limited to 'files/ja/web/css/border-bottom-style') diff --git a/files/ja/web/css/border-bottom-style/index.md b/files/ja/web/css/border-bottom-style/index.md index 35392f014a..43b97e73a4 100644 --- a/files/ja/web/css/border-bottom-style/index.md +++ b/files/ja/web/css/border-bottom-style/index.md @@ -3,27 +3,25 @@ title: border-bottom-style slug: Web/CSS/border-bottom-style tags: - CSS + - CSS 境界 - CSS プロパティ - - CSS 背景と境界 - - border - - border-bottom - - border-style - リファレンス + - recipe:css-property +browser-compat: css.properties.border-bottom-style translation_of: Web/CSS/border-bottom-style --- -
{{CSSRef}}
+{{CSSRef}} -

border-bottom-styleCSS のプロパティで、要素の下側の境界 ({{cssxref("border")}}) における線の形状を設定します。

+**`border-bottom-style`** は [CSS](/ja/docs/Web/CSS) のプロパティで、要素の下側の境界 ({{cssxref("border")}}) における線の形状を設定します。 -
{{EmbedInteractiveExample("pages/css/border-bottom-style.html")}}
+{{EmbedInteractiveExample("pages/css/border-bottom-style.html")}} - +> **Note:** 仕様書では、異なる形状の境界線を角でどの様に接続するかを定義していません。 -
メモ: 仕様書では、異なる形状の境界線を角でどの様に接続するかを定義していません。
+## 構文 -

構文

- -
/* キーワード値 */
+```css
+/* キーワード値 */
 border-bottom-style: none;
 border-bottom-style: hidden;
 border-bottom-style: dotted;
@@ -38,43 +36,51 @@ border-bottom-style: outset;
 /* グローバル値 */
 border-bottom-style: inherit;
 border-bottom-style: initial;
+border-bottom-style: revert;
 border-bottom-style: unset;
-
+``` + +`border-bottom-style` プロパティは、 {{cssxref("border-style")}} プロパティで利用できるキーワードのうちの一つで指定します。 + +## 公式定義 -

border-bottom-style プロパティは、 {{cssxref("border-style")}} プロパティで利用できるキーワードのうちの一つで指定します。

+{{CSSInfo}} -

形式文法

+## 形式文法 {{csssyntax}} -

- -

こちらの表では border-bottom-style のすべての値を紹介します。

- -

HTML

- -
<table>
-  <tr>
-    <td class="b1">none</td>
-    <td class="b2">hidden</td>
-    <td class="b3">dotted</td>
-    <td class="b4">dashed</td>
-  </tr>
-  <tr>
-    <td class="b5">solid</td>
-    <td class="b6">double</td>
-    <td class="b7">groove</td>
-    <td class="b8">ridge</td>
-  </tr>
-  <tr>
-    <td class="b9">inset</td>
-    <td class="b10">outset</td>
-  </tr>
-</table>
- -

CSS

- -
/* 表の外見を定義 */
+## 例
+
+

すべての境界の形状のデモ

+ +#### HTML + +```html + + + + + + + + + + + + + + + + + +
nonehiddendotteddashed
soliddoublegrooveridge
insetoutset
+``` + +#### CSS + +```css +/* 表の外見を定義 */ table { border-width: 3px; background-color: #52E385; @@ -93,45 +99,22 @@ tr, td { .b7 {border-bottom-style: groove;} .b8 {border-bottom-style: ridge;} .b9 {border-bottom-style: inset;} -.b10 {border-bottom-style: outset;}
+.b10 {border-bottom-style: outset;} +``` -

結果

+#### 結果 -

{{ EmbedLiveSample('Examples', 300, 200) }}

+{{ EmbedLiveSample('Demonstrating_all_border_styles', 300, 200) }} -

仕様書

- - - - - - - - - - - - - - - - - - - - - -
仕様書状態備考
{{ SpecName('CSS3 Backgrounds', '#propdef-border-bottom-style', 'border-bottom-style') }}{{ Spec2('CSS3 Backgrounds') }}重要な変更はなし。
{{ SpecName('CSS2.1', 'box.html#border-style-properties', 'border-bottom-style') }}{{ Spec2('CSS2.1') }}初回定義
+## 仕様書 -

{{cssinfo}}

+{{Specifications}} -

ブラウザーの互換性

+## ブラウザーの互換性 -

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

+{{Compat}} -

関連情報

+## 関連情報 - + - その他の形状に関する境界のプロパティ: {{ Cssxref("border-left-style") }}, {{ Cssxref("border-right-style") }}, {{ Cssxref("border-top-style") }}, {{ Cssxref("border-style") }} + - その他の下境界に関するプロパティ: {{ Cssxref("border-bottom") }}, {{ Cssxref("border-bottom-color") }}, {{ Cssxref("border-bottom-width") }} -- cgit v1.2.3-54-g00ecf