ボックスの枠線の太さを指定する
border-width:
thin|medium|thick|サイズ(%は無効)
[thin|medium|thick|サイズ(%は無効)
[thin|medium|thick|サイズ(%は無効)
[thin|medium|thick|サイズ(%は無効)]]]
;
指定する数によって、
2つなら上下、左右の順、
3つなら上、左右、下の順
4つなら上、右、下、左の順に指定します。
個別に設定する事もできます。
border-top-width:上の枠線;
border-bottom-width:下の枠線;
border-left-width:左の枠線;
border-right-style:右の枠線;
設定する値は同じです。
div{border-width:thin}
div{border-width:medium}
div{border-width:thick}
div{border-width:1px}
div{
border-width:
thin
thick
}
div{
border-width:
thin
thick
medium
}
div{
border-width:
thin
thick
medium
1px
}
div{
border-top-width: thin;
border-right-width: thick;
border-bottom-width: medium;
border-left-width: 1px;
}