Using border and border-right properties.

Transition 1
Transition 2
Transition 3
Transition 5