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-start-width/index.md | 121 ++++++++++----------- 1 file changed, 59 insertions(+), 62 deletions(-) (limited to 'files/ja/web/css/border-block-start-width/index.md') diff --git a/files/ja/web/css/border-block-start-width/index.md b/files/ja/web/css/border-block-start-width/index.md index f0426c7be9..81b9f1f392 100644 --- a/files/ja/web/css/border-block-start-width/index.md +++ b/files/ja/web/css/border-block-start-width/index.md @@ -3,60 +3,71 @@ title: border-block-start-width slug: Web/CSS/border-block-start-width tags: - CSS - - CSS Logical Property - - CSS Property - - CSS プロパティ - CSS 論理的プロパティ - - Experimental - - Reference + - CSS プロパティ + - 実験的 + - リファレンス - border-block - border-block-start - border-block-start-width - border-block-width + - recipe:css-property +browser-compat: css.properties.border-block-start-width translation_of: Web/CSS/border-block-start-width --- -
{{CSSRef}}{{SeeCompatTable}}
+{{CSSRef}} -

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

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

構文

- -
/* <'border-width'> 値 */
+```css
+/* <'border-width'> 値 */
 border-block-start-width: 5px;
 border-block-start-width: thick;
-
-

関連するプロパティとしては、 {{cssxref("border-block-end-color")}}, {{cssxref("border-inline-start-color")}}, {{cssxref("border-inline-end-color")}} が要素の他の境界の幅を定義します。

+/* グローバル値 */ +border-block-start-width: inherit; +border-block-start-width: initial; +border-block-start-width: revert; +border-block-start-width: unset; +``` + +関連するプロパティとしては、 {{cssxref("border-block-end-width")}}, {{cssxref("border-inline-start-width")}}, {{cssxref("border-inline-end-width")}} が要素の他の境界の幅を定義します。 -

{{cssinfo}}

+{{cssinfo}} -

+### 値 -
-
<'border-width'>
-
境界の幅です。 {{cssxref("border-width")}} を参照してください。
-
+- `<'border-width'>` + - : 境界の幅です。 {{cssxref("border-width")}} を参照してください。 -

形式文法

+## 公式定義 + +{{cssinfo}} + +## 形式文法 {{csssyntax}} -

+## 例 -

HTML

+

縦書きテキストの境界の太さ

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

CSS

+```html +
+

Example text

+
+``` -
div {
+#### CSS
+
+```css
+div {
   background-color: yellow;
   width: 120px;
   height: 120px;
@@ -66,36 +77,22 @@ border-block-start-width: thick;
   writing-mode: vertical-lr;
   border: 1px solid blue;
   border-block-start-width: 5px;
-}
- -

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

- -

仕様書

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

ブラウザーの互換性

- -

{{Compat("css.properties.border-block-start-width")}}

- -

関連情報

- - +} +``` + +#### 結果 + +{{EmbedLiveSample("Border_width_with_vertical_text", 140, 140)}} + +## 仕様書 + +{{Specifications}} + +## ブラウザーの互換性 + +{{Compat}} + +## 関連情報 + +- このプロパティは {{cssxref("border-top-width")}}, {{cssxref("border-right-width")}}, {{cssxref("border-bottom-width")}}, {{cssxref("border-left-width")}} のうちの1つに対応づけられます +- {{cssxref("writing-mode")}}, {{cssxref("direction")}}, {{cssxref("text-orientation")}} -- cgit v1.2.3-54-g00ecf