Would it be possible to achieve this effect without images, purely with CSS?

Notice how the top horizontal menu items have blue borders that fade to transparent at the top?