HTML
CSS
JavaScript
<div class='example'></div>
.example { border-block-end-style: dotted; }
// No JavaScript required for this demo