How to create independent borders (up, down, left, right)?

How can I show, for example, only the top border of a frame?