--- title: border-bottom-width slug: Web/CSS/border-bottom-width tags: - CSS - CSS Borders - CSS Property - Reference - 'recipe:css-property' translation_of: Web/CSS/border-bottom-width --- <div>{{CSSRef}}</div> <p><a href="/ko/docs/Web/CSS">CSS</a> <strong><code>border-bottom-width</code></strong> 속성은 요소의 아래 테두리 너비를 지정합니다.</p> <div>{{EmbedInteractiveExample("pages/css/border-bottom-width.html")}}</div> <h2 id="Syntax" name="Syntax">구문</h2> <pre class="brush:css no-line-numbers notranslate">/* 키워드 값 */ border-bottom-width: thin; border-bottom-width: medium; border-bottom-width: thick; /* <length> 값 */ border-bottom-width: 10em; border-bottom-width: 3vmax; border-bottom-width: 6px; /* 전역 값 */ border-bottom-width: inherit; border-bottom-width: initial; border-bottom-width: unset; </pre> <h3 id="값">값</h3> <dl> <dt><code><line-width></code></dt> <dd>테두리의 너비입니다. 0 이상의 {{cssxref("<length>")}} 또는 키워드를 사용할 수 있습니다. 키워드는 다음 세 가지 중 하나여야 합니다. <table class="standard-table"> <tbody> <tr> <td style="vertical-align: middle;"><code>thin</code></td> <td style="vertical-align: middle;"> <div style="margin: 0.5em; width: 3em; height: 3em; border-bottom-style: solid; border-bottom-width: thin; background-color: palegreen;"></div> </td> <td style="vertical-align: middle;">얇은 테두리</td> </tr> <tr> <td style="vertical-align: middle;"><code>medium</code></td> <td style="vertical-align: middle;"> <div style="margin: 0.5em; width: 3em; height: 3em; border-bottom-style: solid; border-bottom-width: medium; background-color: palegreen;"></div> </td> <td style="vertical-align: middle;">중간 테두리</td> </tr> <tr> <td style="vertical-align: middle;"><code>thick</code></td> <td style="vertical-align: middle;"> <div style="margin: 0.5em; width: 3em; height: 3em; border-bottom-style: solid; border-bottom-width: thick; background-color: palegreen;"></div> </td> <td style="vertical-align: middle;">굵은 테두리</td> </tr> </tbody> </table> <div class="note"> <p><strong>참고:</strong> 각 키워드의 굵기를 정의한 명세는 없기 때문에 결과는 구현별로 상이할 수 있습니다. 다만 굵기는 언제나 <code>thin ≤ medium ≤ thick</code>이고, 하나의 문서 내에서 동일합니다.</p> </div> </dd> </dl> <h2 id="형식_정의">형식 정의</h2> <p>{{cssinfo}}</p> <h2 id="형식_구문">형식 구문</h2> {{csssyntax}} <h2 id="예제">예제</h2> <h3 id="아래_테두리의_너비_비교">아래 테두리의 너비 비교</h3> <h4 id="HTML">HTML</h4> <pre class="brush: html notranslate"><div>Element 1</div> <div>Element 2</div></pre> <h4 id="CSS">CSS</h4> <pre class="brush: css notranslate">div { border: 1px solid red; margin: 1em 0; } div:nth-child(1) { border-bottom-width: thick; } div:nth-child(2) { border-bottom-width: 2em; }</pre> <h4 id="결과">결과</h4> <p>{{EmbedLiveSample('아래_테두리의_너비_비교', '100%')}}</p> <h2 id="Specifications" name="Specifications">명세</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', '#the-border-width', 'border-bottom-width')}}</td> <td>{{Spec2('CSS3 Backgrounds')}}</td> <td>No significant change.</td> </tr> <tr> <td>{{SpecName('CSS2.1', 'box.html#border-width-properties', 'border-bottom-width')}}</td> <td>{{Spec2('CSS2.1')}}</td> <td>No significant change.</td> </tr> <tr> <td>{{SpecName('CSS1', '#border-left-width', 'border-bottom-width')}}</td> <td>{{Spec2('CSS1')}}</td> <td>Initial definition.</td> </tr> </tbody> </table> <h2 id="Browser_compatibility" name="Browser_compatibility">브라우저 호환성</h2> <p>{{Compat("css.properties.border-bottom-width")}}</p> <h2 id="See_also" name="See_also">같이 보기</h2> <ul> <li>테두리 너비 관련 CSS 속성: {{Cssxref("border-left-width")}}, {{Cssxref("border-right-width")}}, {{Cssxref("border-top-width")}}, and {{Cssxref("border-width")}}.</li> <li>아래 테두리 관련 CSS 속성: {{Cssxref("border")}}, {{Cssxref("border-bottom")}}, {{Cssxref("border-bottom-style")}}, and {{Cssxref("border-bottom-color")}}.</li> </ul>