2020-06-03

css border properties

css border properties

Attributes

border
Shorthand attributes are used to set the attributes for the four sides in a statement.

border-style
Used to set the style of all borders of an element, or set the border style for each side individually.

border-width
Shorthand property, used to set the width of all borders of the element, or set the width of each border separately.

border-color
Shorthand property, set the color of the visible part of all the borders of the element, or set the color for each of the four sides.

border-bottom
Shorthand properties, used to set all properties of the lower border into a statement.

border-bottom-color
Set the color of the element's bottom border.

border-bottom-style
Sets the style of the element's bottom border.

border-bottom-width
Set the width of the element's bottom border.

border-left
Shorthand properties, used to set all properties of the left border into a statement.

border-left-color
Set the color of the element's left border.

border-left-style
Sets the style of the element's left border.

border-left-width
Set the width of the element's left border.

border-right
Shorthand properties, used to set all properties of the right border into a statement.

border-right-color
Set the color of the element's right border.

border-right-style
Sets the style of the element's right border.

border-right-width
Set the width of the element's right border.

border-top
Shorthand properties, used to set all properties of the upper border into a statement.

border-top-color
Set the color of the element's top border.

border-top-style
Sets the style of the element's top border.

border-top-width
Set the width of the element's top border.

No comments:

Post a Comment