<html>
<head>
<style>
h1, h2, div {
background-color: lightgreen;
}
h1 {
border-block: 5px solid red;
}
h2 {
border-block: 4px dotted blue;
}
div {
border-block: double;
}
</style>
</head>
<body>
<h1>A heading with a solid red border in the block direction</h1>
<h2>A heading with a dotted blue border in the block direction</h2>
<div>A div element with a double border in the block direction.</div>
</body>
<!-- Mirrored from www.w3schools.com/cssref/tryit.php?filename=trycss_border-block by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 21 Dec 2022 17:35:04 GMT -->
</html>