![](https://cxg-design.jp/wp-content/uploads/2024/04/cssbanner03.png)
CSS BORDER WIDTH
CSS
ボーダー幅のCSSです。
border-bottom-widthで下辺のみ変更できます。
/* キーワード値 */
border-width: thin;
border-width: medium;
border-width: thick;
/* <length> 値 */
border-width: 4px;
border-width: 1.2rem;
/* 上下 | 左右 */
border-width: 2px 1.5em;
/* 上 | 左右 | 下 */
border-width: 1px 2em 1.5cm;
/* 上 | 右 | 下 | 左 */
border-width: 1px 2em 0 4rem;
/* グローバルキーワード */
border-width: inherit;
border-width: initial;
border-width: revert;
border-width: revert-layer;
border-width: unset;