There are a bunch of ways to do this, including gradients and psuedo-elements, but a simple way is to just use borders. Here’s my take:

Fiddle