CSS Border Attributes #Part 5
Border-style
Solid, double, groove, ridge, insert, outset
Border-color
A color name or color code.
Border-width
Thin, medium, think or length.
Border-top-width
Thin, medium, think or length.
Border-bottom-width
Thin, medium, think or length.
Border-width-left
Thin, medium, think or length.
Border-right-width
Thin, medium, think or length.
Border-top
Specifies width, color and style
Border-bottom
Specifies width, color and style.
Border-left
Specifies width, color and style.
Border-right
Specifies width, color and style.
Border
Sets all the properties at once.
HTML Code
<p>Code Pocket is a website that you can learn HTML, CSS, Javascript and Bootstrap. Code Pocket is a website that you can learn HTML, CSS, Javascript and Bootstrap. </p>
CSS Code
<style type="text/css">
p
{
border-style: groove;
border-color:red;
border-width:think;
border:4;
}
</style>