CSS border properties - Part 1

Notes:

CSS Border Area Properties

CSS border-top-width property:
It is used to specify the thickness of the top border of an html element
Values: length

CSS border-top-style property:
It is used to specify the style of the top border of an html element
Values: solid | double | dotted | dashed | groove | inset | outset | none
v CSS border-top-color property:
It is used to specify the color of the top border of an html element
Values: color

CSS border-right-width property:
It is used to specify the thickness of the right border of an html element
Values: length

CSS border-right-style property:
It is used to specify the style of the right border of an html element
Values: solid | double | dotted | dashed | groove | inset | outset | none

CSS border-right-color property:
It is used to specify the color of the right border of an html element
Values: color | hex color value

CSS border-bottom-width property:
It is used to specify the thickness of the bottom border of an html element
Values: length

CSS border- bottom -style property:
It is used to specify the style of the bottom border of an html element
Values: solid | double | dotted | dashed | groove | inset | outset | none

CSS border- bottom -color property:
It is used to specify the color of the bottom border of an html element
Values: color | hex color value

CSS border-left-width property:
It is used to specify the thickness of the left border of an html element
Values: length

CSS border-left-style property:
It is used to specify the style of the left border of an html element
Values: solid | double | dotted | dashed | groove | inset | outset | none

CSS border-left-color property:
It is used to specify the color of the left border of an html element
Values: color | hex color value

Interview Questions: