css.properties

border-shape

The border-shape property specifies the shape of a border.

Draft โ€” This property is defined in a W3C Draft and may be subject to change

Formal Syntax

border-shape = none | [ <basic-shape> <geometry-box>?]{1,2} <geometry-box> = <shape-box> | fill-box | stroke-box | view-box

See specification

JavaScript Access

// Access via element.style element.style.borderShape = "none";

Browser Support

This property is defined in a W3C Draft and may be subject to change. Browser support data is not yet available.

Related Properties