aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/css/border-bottom-color/index.html
blob: e2b0fcbcc69e5d8cb20198a90037041873e986a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
---
title: border-bottom-color
slug: Web/CSS/border-bottom-color
tags:
  - CSS
  - CSS Borders
  - CSS Property
  - Reference
translation_of: Web/CSS/border-bottom-color
---
<div>{{CSSRef}}</div>

<p><span class="seoSummary"><strong><code>border-bottom-color</code></strong> <a href="/ko/docs/Web/CSS">CSS</a> 속성은 요소의 아래쪽 테두리 색상을 지정합니다.</span> {{cssxref("border-color")}} 또는 {{cssxref("border-bottom")}} 단축 속성으로도 지정할 수 있습니다.</p>

<div>{{EmbedInteractiveExample("pages/css/border-bottom-color.html")}}</div>



<h2 id="구문">구문</h2>

<pre class="brush: css no-line-numbers  language-css">/* &lt;color&gt; 값 */
border-bottom-color: red;
border-bottom-color: #ffbb00;
border-bottom-color: rgb(255, 0, 0);
border-bottom-color: hsla(100%, 50%, 25%, 0.75);
border-bottom-color: currentColor;
border-bottom-color: transparent;

/* 전역 값 */
border-bottom-color: inherit;
border-bottom-color: initial;
border-bottom-color: unset;
</pre>

<p><code>border-bottom-color</code> 속성은 하나의 값을 사용해 지정합니다.</p>

<h3 id="값"></h3>

<dl>
 <dt>{{cssxref("&lt;color&gt;")}}</dt>
 <dd>아래쪽 테두리의 색상.</dd>
</dl>

<h3 id="형식_구문">형식 구문</h3>

{{csssyntax}}

<h2 id="예제">예제</h2>

<h3 id="테두리를_가진_간단한_상자">테두리를 가진 간단한 상자</h3>

<h4 id="HTML">HTML</h4>

<pre class="brush: html">&lt;div class="mybox"&gt;
  &lt;p&gt;This is a box with a border around it.
     Note which side of the box is
     &lt;span class="redtext"&gt;red&lt;/span&gt;.&lt;/p&gt;
&lt;/div&gt;</pre>

<h4 id="CSS">CSS</h4>

<pre class="brush: css">.mybox {
  border: solid 0.3em gold;
  border-bottom-color: red;
    width: auto;
}

.redtext {
  color: red;
}</pre>

<h4 id="결과">결과</h4>

<p>{{EmbedLiveSample('테두리를_가진_간단한_상자')}}</p>

<h2 id="명세">명세</h2>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Status</th>
   <th scope="col">Comment</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{SpecName('CSS3 Backgrounds', '#border-bottom-color', 'border-bottom-color')}}</td>
   <td>{{Spec2('CSS3 Backgrounds')}}</td>
   <td>No significant changes, though the <code>transparent</code> keyword, now included in {{cssxref("&lt;color&gt;")}} which has been extended, has been formally removed.</td>
  </tr>
  <tr>
   <td>{{SpecName('CSS2.1', 'box.html#propdef-border-bottom-color', 'border-bottom-color')}}</td>
   <td>{{Spec2('CSS2.1')}}</td>
   <td>Initial definition</td>
  </tr>
 </tbody>
</table>

<p>{{cssinfo}}</p>

<h2 id="브라우저_호환성">브라우저 호환성</h2>



<p>{{Compat("css.properties.border-bottom-color")}}</p>

<h2 id="같이_보기">같이 보기</h2>

<ul>
 <li>테두리 관련 CSS 단축 속성: {{cssxref("border")}}, {{cssxref("border-bottom")}}, {{cssxref("border-color")}}.</li>
 <li>다른 방향 테두리의 색상 관련 CSS 단축 속성: {{cssxref("border-top-color")}}, {{cssxref("border-right-color")}}, {{cssxref("border-left-color")}}.</li>
 <li>아래쪽 테두리 관련 CSS 속성: {{cssxref("border-bottom-style")}}, {{cssxref("border-bottom-width")}}.</li>
</ul>