border
borderプロパティはボーダーに対する指定が一括で可能なプロパティです。
border-widthプロパティ、border-styleプロパティ、border-colorプロパティの指定を一括で行います。
.target{
border : 10px slid blue;
}
また、border-colorプロパティの指定が省略された場合は、colorプロパティの値が継承されてボーダー色として採用されます。
各辺に対して個別に指定したい場合はborder-topプロパティ、border-rightプロパティ、border-bottomプロパティ、border-leftプロパティを利用します。
登録日 : 2015年01月04日 最終更新日 : 2015年2月17日
同じカテゴリー(Border)のエントリー
- border
- border-left
- border-bottom
- border-right
- border-top
- border-image
- border-image-repeat
- border-image-outset
- border-image-width
- border-image-slice
- border-image-source
- border-radius
- border-bottom-left-radius
- border-bottom-right-radius
- border-top-right-radius
- border-top-left-radius
- border-left-width
- border-bottom-width
- border-right-width
- border-top-width
- border-width
- border-left-style
- border-bottom-style
- border-right-style
- border-top-style
- border-style
- border-left-color
- border-bottom-color
- border-right-color
- border-top-color
- border-color