Horizontal.
Vertical.
.box { width: 150px; height: 150px; border-top: 5px solid rebeccapurple; border-right: 5px solid grey; border-bottom: 5px dotted red; border-left: 5px dotted blue; padding-top: 40px; margin-bottom: 30px; }
Horizontal.
Vertical.