property
webkit border before — CSS reference
Nonstandard logical border shorthand from WebKit. Prefer border-block-start for modern code; it follows the block direction and accepts a width, style and color. In horizontal writing mode the block-start edge is the top.
Formal Syntax & Structure
css syntaxcss
-webkit-border-before: 4px solid red;Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>-webkit-border-before</title><style>body{margin:0;background:white}#a{box-sizing:border-box}#a{border-block-start:4px solid red;-webkit-border-before:4px solid red;width:100px;height:50px}</style><body><div id="a">Notice</div></body></html>