From a5945c319772579f34e35c90c3b61b55e25a8468 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Thu, 30 Sep 2021 00:00:33 +0900 Subject: border-inline-* プロパティを更新 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 2021/08/13 時点の英語版に同期 --- files/ja/web/css/border-inline-start/index.md | 129 +++++++++++++------------- 1 file changed, 64 insertions(+), 65 deletions(-) (limited to 'files/ja/web/css/border-inline-start/index.md') diff --git a/files/ja/web/css/border-inline-start/index.md b/files/ja/web/css/border-inline-start/index.md index 58e1cee709..d723df5379 100644 --- a/files/ja/web/css/border-inline-start/index.md +++ b/files/ja/web/css/border-inline-start/index.md @@ -4,68 +4,83 @@ slug: Web/CSS/border-inline-start tags: - CSS - CSS Logical Property - - CSS Property - CSS プロパティ - - CSS 論理的プロパティ - - Experimental + - 実験的 - Reference - border-inline - border-inline-start - border-inline-start-color - border-inline-start-style - border-inline-start-width + - recipe:css-shorthand-property +browser-compat: css.properties.border-inline-start translation_of: Web/CSS/border-inline-start --- -
{{CSSRef}}{{SeeCompatTable}}
+{{CSSRef}} -

border-inline-startCSS のプロパティで、個々の論理的なインライン方向の先頭側境界のプロパティ値を、スタイルシート内の単一の場所で設定するための一括指定プロパティです。

+**`border-inline-start`** は [CSS](/ja/docs/Web/CSS) のプロパティで、個々の論理的なインライン方向の先頭側境界のプロパティ値を、スタイルシート内の単一の場所で設定するための[一括指定プロパティ](/ja/docs/Web/CSS/Shorthand_properties)です。 -
{{EmbedInteractiveExample("pages/css/border-inline-start.html")}}
+{{EmbedInteractiveExample("pages/css/border-inline-start.html")}} - +## 構成要素のプロパティ -

構文

+このプロパティは以下の CSS プロパティの一括指定です。 -
border-inline-start: 1px;
+- [`border-inline-start-color`](/ja/docs/Web/CSS/border-inline-start-color)
+- [`border-inline-start-style`](/ja/docs/Web/CSS/border-inline-start-style)
+- [`border-inline-start-width`](/ja/docs/Web/CSS/border-inline-start-width)
+
+## 構文
+
+```css
+border-inline-start: 1px;
 border-inline-start: 2px dotted;
 border-inline-start: medium dashed green;
-
-

border-inline-start は1つ以上の {{cssxref("border-inline-start-width")}}, {{cssxref("border-inline-start-style")}}, {{cssxref("border-inline-start-color")}} の値の組み合わせを使用することができます。対応付けられる物理的な境界は、書字方向やテキストの向きによって決まります。これは {{cssxref("border-top")}}, {{cssxref("border-right")}}, {{cssxref("border-bottom")}}, {{cssxref("border-left")}} の何れかに対応し、どれに対応するかは {{cssxref("writing-mode")}}, {{cssxref("direction")}}, {{cssxref("text-orientation")}} で定義された値によって決まります。

+/* グローバル値 */ +border-inline-start: inherit; +border-inline-start: initial; +border-inline-start: revert; +border-inline-start: unset; +``` + +対応付けられる物理的な境界は、書字方向やテキストの向きによって決まります。これは {{cssxref("border-top")}}、{{cssxref("border-right")}}、{{cssxref("border-bottom")}}、{{cssxref("border-left")}} の何れかに対応し、どれに対応するかは {{cssxref("writing-mode")}}、{{cssxref("direction")}}、{{cssxref("text-orientation")}} で定義された値によって決まります。 -

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

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

{{cssinfo}}

+### 値 -

+`border-inline-start` は以下の値の内の 1 つ以上を任意の順序で指定します。 -

border-inline-start は以下の値の内の1つ以上を任意の順序で指定します。

+- `<'border-width'>` + - : 境界の幅です。 {{cssxref("border-width")}} を参照してください。 +- `<'border-style'>` + - : 境界線のスタイルです。 {{cssxref("border-style")}} を参照してください。 +- `<'color'>` + - : 境界の色です。 {{cssxref("color")}} を参照してください。 -
-
<'border-width'>
-
境界の幅です。 {{cssxref("border-width")}} を参照してください。
-
<'border-style'>
-
境界線のスタイルです。 {{cssxref("border-style")}} を参照してください。
-
<'color'>
-
境界の色です。 {{cssxref("color")}} を参照してください。
-
+## 公式定義 -

形式文法

+{{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;
@@ -74,36 +89,20 @@ border-inline-start: medium dashed green;
 .exampleText {
   writing-mode: vertical-rl;
   border-inline-start: 5px dashed blue;
-}
- -

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

- -

仕様書

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

ブラウザーの互換性

- -

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

- -

関連情報

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