Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
h1 {
  border-right: 5px solid red;
}
h2 {
  border-right: 4px dotted blue;
}
div {
  border-right: double;
}
</style>
</head>
<body>
<h1>A heading with a solid red right border</h1>
<h2>A heading with a dotted blue right border</h2>
<div>A div element with a double right border.</div>
</body>
<!-- Mirrored from www.mdssup.ma/cssref/tryit.asp?filename=trycss_border-right by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 05 Sep 2022 15:15:36 GMT -->
</html>