Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
body {
  background-color: #E7E9EB;
}
#myDIV {
  width:100%;
  height:300px;
  background-color: #FFFFFF;
  border-block: 4px dashed blue;
}
</style>
</head>
<body>
<h1>The border-block Property</h1>
<div id="myDIV">
A demonstration on how to add a border in the block direction.
</div>
</body>
</html>