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-right-style/index.md | 137 ++++++++++++--------------- 1 file changed, 61 insertions(+), 76 deletions(-) (limited to 'files/ja/web/css/border-right-style') diff --git a/files/ja/web/css/border-right-style/index.md b/files/ja/web/css/border-right-style/index.md index 95b3cda12b..2141b7138b 100644 --- a/files/ja/web/css/border-right-style/index.md +++ b/files/ja/web/css/border-right-style/index.md @@ -3,27 +3,25 @@ title: border-right-style slug: Web/CSS/border-right-style tags: - CSS + - CSS 境界 - CSS プロパティ - - CSS 背景と境界 - - Reference - - border - - border-right - - border-style + - リファレンス + - recipe:css-property +browser-compat: css.properties.border-right-style translation_of: Web/CSS/border-right-style --- -
{{CSSRef}}
+{{CSSRef}} -

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

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

構文

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

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

+{{CSSInfo}} -

形式文法

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

- -

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: 2px; background-color: #52E385; @@ -91,45 +99,22 @@ tr, td { .b7 {border-right-style: groove;} .b8 {border-right-style: ridge;} .b9 {border-right-style: inset;} -.b10 {border-right-style: outset;}
+.b10 {border-right-style: outset;} +``` -

結果

+#### 結果 -

{{ EmbedLiveSample('Examples') }}

+{{ EmbedLiveSample('Border_styles') }} -

仕様書

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

{{cssinfo}}

+{{Specifications}} -

ブラウザーの互換性

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

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

+{{Compat}} -

関連情報

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