CSS border-block

Previous Next

Demo of the different values of the border-block property.

Click the property values below to see the result:

border-block: 5px solid red;
border-block: solid red;
border-block: 5px solid;
border-block: blue 10px dotted;
border-block: dashed hotpink 4px;
border-block: 4px inset;
border-block: red 4px outset;
border-block: 4px ridge;
border-block: groove 4px;
border-block: double;
A demonstration on different ways to add a border in the block direction.
A demonstration on different ways to add a border in the block direction.
A demonstration on different ways to add a border in the block direction.
A demonstration on different ways to add a border in the block direction.
A demonstration on different ways to add a border in the block direction.
A demonstration on different ways to add a border in the block direction.
A demonstration on different ways to add a border in the block direction.
A demonstration on different ways to add a border in the block direction.
A demonstration on different ways to add a border in the block direction.
A demonstration on different ways to add a border in the block direction.

Play more with the code in our Tryit yourself editor: Try it Yourself ❯