The correct answer is: C. border-right
The border-right
property defines the style for the right border of an element. It can be used to set the width, color, and style of the border.
The border-left
property defines the style for the left border of an element. The border-right-style
property is not a valid CSS property. The border-style
property defines the style for all four borders of an element.
Here is an example of how to use the border-right
property:
css
div {
border-right: 1px solid black;
}
This code will create a 1px black border on the right side of all div
elements.