Skip to content

Commit 72837c8

Browse files
committed
2025/11/06 時点の英語版に基づき更新
1 parent 04db162 commit 72837c8

File tree

3 files changed

+35
-38
lines changed

3 files changed

+35
-38
lines changed

files/ja/web/css/reference/properties/border-left-color/index.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
22
title: border-left-color
33
slug: Web/CSS/Reference/Properties/border-left-color
4-
original_slug: Web/CSS/border-left-color
54
l10n:
6-
sourceCommit: 50c8e290f11b061bbf2267e1a3279f28180a5fcb
5+
sourceCommit: f69b6693212029ce4b9fa0c753729044577af548
76
---
87

98
**`border-left-color`**[CSS](/ja/docs/Web/CSS) のプロパティで、要素の左側の[境界線](/ja/docs/Web/CSS/Reference/Properties/border)の色を設定します。一括指定プロパティの {{cssxref("border-color")}} または {{cssxref("border-left")}} でも設定することができます。
@@ -19,11 +18,11 @@ border-left-color: #32a1ce;
1918
```
2019

2120
```css interactive-example-choice
22-
border-left-color: rgb(170, 50, 220, 0.6);
21+
border-left-color: rgb(170 50 220 / 0.6);
2322
```
2423

2524
```css interactive-example-choice
26-
border-left-color: hsl(60, 90%, 50%, 0.8);
25+
border-left-color: hsl(60 90% 50% / 0.8);
2726
```
2827

2928
```css interactive-example-choice
@@ -33,15 +32,15 @@ border-left-color: transparent;
3332
```html interactive-example
3433
<section class="default-example" id="default-example">
3534
<div class="transition-all" id="example-element">
36-
This is a box with a border around it.
35+
これは周囲に境界線があるボックスです。
3736
</div>
3837
</section>
3938
```
4039

4140
```css interactive-example
4241
#example-element {
43-
background-color: #eee;
44-
color: #000;
42+
background-color: #eeeeee;
43+
color: black;
4544
border: 0.75em solid;
4645
padding: 0.75em;
4746
width: 80%;
@@ -57,7 +56,7 @@ border-left-color: red;
5756
border-left-color: #ffbb00;
5857
border-left-color: rgb(255 0 0);
5958
border-left-color: hsl(100deg 50% 25% / 75%);
60-
border-left-color: currentcolor;
59+
border-left-color: currentColor;
6160
border-left-color: transparent;
6261

6362
/* グローバル値 */
@@ -85,11 +84,11 @@ border-left-color: unset;
8584

8685
## 例
8786

88-
### 境界線が付いた単純な div
87+
### 境界線が付いた div
8988

9089
#### HTML
9190

92-
```html-nolint live-sample___a_simple_div_with_a_border
91+
```html-nolint
9392
<div class="my-box">
9493
<p>
9594
これは周囲に境界線があるボックスです。 なお、ボックスのその辺が<span class="red-text">赤</span>になっています。
@@ -99,7 +98,7 @@ border-left-color: unset;
9998

10099
#### CSS
101100

102-
```css live-sample___a_simple_div_with_a_border
101+
```css
103102
.my-box {
104103
border: solid 0.3em gold;
105104
border-left-color: red;
@@ -113,7 +112,7 @@ border-left-color: unset;
113112

114113
#### 結果
115114

116-
{{EmbedLiveSample('A_simple_div_with_a_border')}}
115+
{{EmbedLiveSample('境界線が付いた div')}}
117116

118117
## 仕様書
119118

@@ -128,4 +127,4 @@ border-left-color: unset;
128127
- 境界に関する CSS 一括指定プロパティ: {{cssxref("border")}}, {{cssxref("border-left")}}, {{cssxref("border-color")}}.
129128
- 他の境界線の色に関する CSS プロパティ: {{cssxref("border-right-color")}}, {{cssxref("border-bottom-color")}}, {{cssxref("border-top-color")}}
130129
- 同じ境界に適用される他の境界関連の CSS プロパティ: {{cssxref("border-left-style")}}, {{cssxref("border-left-width")}}
131-
- 既定値の [`currentcolor`](/ja/docs/Web/CSS/Reference/Values/color_value#currentcolor_keyword) カラー値
130+
- 既定値の [`currentColor`](/ja/docs/Web/CSS/Reference/Values/color_value#currentcolor_keyword) カラー値

files/ja/web/css/reference/properties/border-right-color/index.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
22
title: border-right-color
33
slug: Web/CSS/Reference/Properties/border-right-color
4-
original_slug: Web/CSS/border-right-color
54
l10n:
6-
sourceCommit: 50c8e290f11b061bbf2267e1a3279f28180a5fcb
5+
sourceCommit: f69b6693212029ce4b9fa0c753729044577af548
76
---
87

98
**`border-right-color`** は CSS のプロパティで、要素の右側の[境界線](/ja/docs/Web/CSS/Reference/Properties/border)の色を設定します。一括指定プロパティの {{cssxref("border-color")}} または {{cssxref("border-right")}} でも設定することができます。
@@ -19,11 +18,11 @@ border-right-color: #32a1ce;
1918
```
2019

2120
```css interactive-example-choice
22-
border-right-color: rgb(170, 50, 220, 0.6);
21+
border-right-color: rgb(170 50 220 / 0.6);
2322
```
2423

2524
```css interactive-example-choice
26-
border-right-color: hsl(60, 90%, 50%, 0.8);
25+
border-right-color: hsl(60 90% 50% / 0.8);
2726
```
2827

2928
```css interactive-example-choice
@@ -33,15 +32,15 @@ border-right-color: transparent;
3332
```html interactive-example
3433
<section class="default-example" id="default-example">
3534
<div class="transition-all" id="example-element">
36-
This is a box with a border around it.
35+
これは周囲に境界線があるボックスです。
3736
</div>
3837
</section>
3938
```
4039

4140
```css interactive-example
4241
#example-element {
43-
background-color: #eee;
44-
color: #000;
42+
background-color: #eeeeee;
43+
color: black;
4544
border: 0.75em solid;
4645
padding: 0.75em;
4746
width: 80%;
@@ -57,7 +56,7 @@ border-right-color: red;
5756
border-right-color: #ffbb00;
5857
border-right-color: rgb(255 0 0);
5958
border-right-color: hsl(100deg 50% 25% / 75%);
60-
border-right-color: currentcolor;
59+
border-right-color: currentColor;
6160
border-right-color: transparent;
6261

6362
/* グローバル値 */
@@ -85,11 +84,11 @@ border-right-color: unset;
8584

8685
## 例
8786

88-
### 境界線が付いた単純な div
87+
### 境界線が付いた div
8988

9089
#### HTML
9190

92-
```html-nolint live-sample___a_simple_div_with_a_border
91+
```html-nolint
9392
<div class="my-box">
9493
<p>
9594
これは周囲に境界線があるボックスです。 なお、ボックスのその辺が<span class="red-text">赤</span>になっています。
@@ -99,7 +98,7 @@ border-right-color: unset;
9998

10099
#### CSS
101100

102-
```css live-sample___a_simple_div_with_a_border
101+
```css
103102
.my-box {
104103
border: solid 0.3em gold;
105104
border-right-color: red;
@@ -113,7 +112,7 @@ border-right-color: unset;
113112

114113
#### 結果
115114

116-
{{EmbedLiveSample('A_simple_div_with_a_border')}}
115+
{{EmbedLiveSample('境界線が付いた div')}}
117116

118117
## 仕様書
119118

@@ -128,4 +127,4 @@ border-right-color: unset;
128127
- 境界に関する CSS 一括指定プロパティ: {{cssxref("border")}}, {{cssxref("border-right")}}, {{cssxref("border-color")}}
129128
- 他の境界線の色に関する CSS プロパティ: {{cssxref("border-left-color")}}, {{cssxref("border-bottom-color")}}, {{cssxref("border-top-color")}}
130129
- 同じ境界に適用される他の境界関連の CSS プロパティ: {{cssxref("border-right-style")}}, {{cssxref("border-right-width")}}
131-
- 既定値の [`currentcolor`](/ja/docs/Web/CSS/Reference/Values/color_value#currentcolor_keyword) カラー値
130+
- 既定値の [`currentColor`](/ja/docs/Web/CSS/Reference/Values/color_value#currentcolor_keyword) カラー値

files/ja/web/css/reference/properties/border-top-color/index.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
22
title: border-top-color
33
slug: Web/CSS/Reference/Properties/border-top-color
4-
original_slug: Web/CSS/border-top-color
54
l10n:
6-
sourceCommit: 50c8e290f11b061bbf2267e1a3279f28180a5fcb
5+
sourceCommit: f69b6693212029ce4b9fa0c753729044577af548
76
---
87

98
**`border-top-color`**[CSS](/ja/docs/Web/CSS) のプロパティで、要素の上側の[境界線](/ja/docs/Web/CSS/Reference/Properties/border)の色を設定します。一括指定プロパティの {{cssxref("border-color")}} または {{cssxref("border-top")}} でも設定することができます。
@@ -19,11 +18,11 @@ border-top-color: #32a1ce;
1918
```
2019

2120
```css interactive-example-choice
22-
border-top-color: rgb(170, 50, 220, 0.6);
21+
border-top-color: rgb(170 50 220 / 0.6);
2322
```
2423

2524
```css interactive-example-choice
26-
border-top-color: hsl(60, 90%, 50%, 0.8);
25+
border-top-color: hsl(60 90% 50% / 0.8);
2726
```
2827

2928
```css interactive-example-choice
@@ -40,8 +39,8 @@ border-top-color: transparent;
4039

4140
```css interactive-example
4241
#example-element {
43-
background-color: #eee;
44-
color: #000;
42+
background-color: #eeeeee;
43+
color: black;
4544
border: 0.75em solid;
4645
padding: 0.75em;
4746
width: 80%;
@@ -57,7 +56,7 @@ border-top-color: red;
5756
border-top-color: #ffbb00;
5857
border-top-color: rgb(255 0 0);
5958
border-top-color: hsl(100deg 50% 25% / 75%);
60-
border-top-color: currentcolor;
59+
border-top-color: currentColor;
6160
border-top-color: transparent;
6261

6362
/* グローバル値 */
@@ -85,11 +84,11 @@ border-top-color: unset;
8584

8685
## 例
8786

88-
### 境界線が付いた単純な div
87+
### 境界線が付いた div
8988

9089
#### HTML
9190

92-
```html-nolint live-sample___a_simple_div_with_a_border
91+
```html-nolint
9392
<div class="my-box">
9493
<p>
9594
これは周囲に境界線があるボックスです。 なお、ボックスのその辺が<span class="red-text">赤</span>になっています。
@@ -99,7 +98,7 @@ border-top-color: unset;
9998

10099
#### CSS
101100

102-
```css live-sample___a_simple_div_with_a_border
101+
```css
103102
.my-box {
104103
border: solid 0.3em gold;
105104
border-top-color: red;
@@ -113,7 +112,7 @@ border-top-color: unset;
113112

114113
#### 結果
115114

116-
{{EmbedLiveSample('A_simple_div_with_a_border')}}
115+
{{EmbedLiveSample('境界線が付いた div')}}
117116

118117
## 仕様書
119118

@@ -128,4 +127,4 @@ border-top-color: unset;
128127
- 境界に関する CSS 一括指定プロパティ: {{cssxref("border")}}, {{cssxref("border-top")}}, {{cssxref("border-color")}}.
129128
- 他の境界線の色に関する CSS プロパティ: {{cssxref("border-right-color")}}, {{cssxref("border-bottom-color")}}, {{cssxref("border-left-color")}}
130129
- 同じ境界線に適用される他の境界関連の CSS プロパティ: {{cssxref("border-top-style")}}, {{cssxref("border-top-width")}}
131-
- 既定値の [`currentcolor`](/ja/docs/Web/CSS/Reference/Values/color_value#currentcolor_keyword) カラー値
130+
- 既定値の [`currentColor`](/ja/docs/Web/CSS/Reference/Values/color_value#currentcolor_keyword) カラー値

0 commit comments

Comments
 (0)