From 097e0c985e82e73460e6c0a76f3b901ce3af98f7 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Wed, 17 Nov 2021 00:45:11 +0900 Subject: CSS 論理的プロパティと値のボックスモデルに関するプロパティを更新 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 2021/11/15 時点の英語版に同期 --- files/ja/web/css/border-block-style/index.md | 102 ++++++++++++--------------- 1 file changed, 46 insertions(+), 56 deletions(-) (limited to 'files/ja/web/css/border-block-style') diff --git a/files/ja/web/css/border-block-style/index.md b/files/ja/web/css/border-block-style/index.md index 98da64022f..19239bfd8e 100644 --- a/files/ja/web/css/border-block-style/index.md +++ b/files/ja/web/css/border-block-style/index.md @@ -3,61 +3,67 @@ title: border-block-style slug: Web/CSS/border-block-style tags: - CSS - - CSS Logical Property - - CSS Property - - CSS プロパティ - CSS 論理的プロパティ - - Experimental + - CSS プロパティ + - 実験的 - Non-standard - - Reference - - 'recipe:css-property' + - リファレンス + - recipe:css-property browser-compat: css.properties.border-block-style translation_of: Web/CSS/border-block-style --- -
{{CSSRef}}
+{{CSSRef}} -

border-block-styleCSS のプロパティで、要素の論理的なブロック方向の境界のスタイルを定義し、それが要素の書字方向やテキストの方向に応じて物理的な境界のスタイルに対応付けられます。これは {{cssxref("border-top-style")}} と {{cssxref("border-bottom-style")}}、または {{cssxref("border-left-style")}} と {{cssxref("border-right-style")}} のどちらかに対応し、どちらに対応するかは {{cssxref("writing-mode")}}, {{cssxref("direction")}}, {{cssxref("text-orientation")}} で定義された値によって決まります。

+**`border-block-style`** は [CSS](/ja/docs/Web/CSS) のプロパティで、要素の論理的なブロック方向の境界のスタイルを定義し、それが要素の書字方向やテキストの方向に応じて物理的な境界のスタイルに対応づけられます。これは {{cssxref("border-top-style")}} と {{cssxref("border-bottom-style")}}、または {{cssxref("border-left-style")}} と {{cssxref("border-right-style")}} のどちらかに対応し、どちらに対応するかは {{cssxref("writing-mode")}}, {{cssxref("direction")}}, {{cssxref("text-orientation")}} で定義された値によって決まります。 -
{{EmbedInteractiveExample("pages/css/border-block-style.html")}}
+{{EmbedInteractiveExample("pages/css/border-block-style.html")}} -

他の方向の境界については、 {{cssxref("border-inline-style")}} によって、 {{cssxref("border-inline-start-style")}} と {{cssxref("border-inline-end-style")}} の両方を設定することができます。

+他の方向の境界については、 {{cssxref("border-inline-style")}} によって、 {{cssxref("border-inline-start-style")}} と {{cssxref("border-inline-end-style")}} の両方を設定することができます。 -

構文

+## 構文 -
/* <'border-style'> 値 */
+```css
+/* <'border-style'> 値 */
 border-block-style: dashed;
 border-block-style: dotted;
-border-block-style: groove;
+border-block-style: groove; -

+/* グローバル値 */ +border-block-style: inherit; +border-block-style: initial; +border-block-style: revert; +border-block-style: unset; +``` -
-
<'border-style'>
-
境界のスタイルです。 {{cssxref("border-style")}} を参照してください。
-
+### 値 -

公式定義

+- `<'border-style'>` + - : 境界のスタイルです。 {{cssxref("border-style")}} を参照してください。 -

{{CSSInfo}}

+## 公式定義 -

形式文法

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

+## 例

縦書きでの破線の境界

-

HTML

+#### HTML -
<div>
-  <p class="exampleText">Example text</p>
-</div>
-
+```html +
+

Example text

+
+``` -

CSS

+#### CSS -
div {
+```css
+div {
   background-color: yellow;
   width: 120px;
   height: 120px;
@@ -67,38 +73,22 @@ border-block-style: groove;
writing-mode: vertical-lr; border: 5px solid blue; border-block-style: dashed; -} +} +``` -

結果

+#### 結果 -

{{EmbedLiveSample("Dashed_border_with_vertical_text", 140, 140)}}

+{{EmbedLiveSample("Dashed_border_with_vertical_text", 140, 140)}} -

仕様書

+## 仕様書 - - - - - - - - - - - - - - - -
仕様書状態備考
{{SpecName("CSS Logical Properties", "#propdef-border-block-style", "border-block-style")}}{{Spec2("CSS Logical Properties")}}初回定義
+{{Specifications}} -

ブラウザーの互換性

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

{{Compat}}

+{{Compat}} -

関連情報

+## 関連情報 - +- このプロパティは {{cssxref("border-top-style")}}, {{cssxref("border-right-style")}}, {{cssxref("border-bottom-style")}}, {{cssxref("border-left-style")}} のうちの 1 つに対応します +- {{cssxref("writing-mode")}}, {{cssxref("direction")}}, {{cssxref("text-orientation")}} -- cgit v1.2.3-54-g00ecf