Take a look http://jsfiddle.net/Ts6qy/26/
This width: 100%;
has been removed from .container span::before
.
So, this way, the before
just shows up when hovered it self or when on of those spans is hovered.
I don't know if you really do need what width: 100%;
anyway, this method works and you can keep transitions.