border-block

Term side of the Card
Topic: Borders, Outlines & Shadows
Unit title: border-block
Categories: Property
Explanation side of the Card

Explanation: The property that sets the width, style and color of the border on the block-start and block-end sides of an element. This property is useful for controlling the border on vertical sides of a block-level element. For example, it can be used to add a border to the top and bottom of a block element.

Browser compatibility:
  • The chrome browser supports this feature starting from version 87
  • The edge browser supports this feature starting from version 87
  • The firefox browser supports this feature starting from version 66
  • The safari browser supports this feature starting from version 14.1
Availability: