It's a bit late for this party, but here's how to get the list item full for hover changes.
First, use (above and below) the borders of the li elements, and then give the latter a lower border.
li:last-child {border-bottom:2px solid silver;}
Then select a hover frame style:
li:hover {border-color:#0cf;}
Finally, use the sibling selector to change the top border of the next element so that it matches the hover border.
li:hover + li {border-top-color:#0cf;}
http://jsfiddle.net/8umrq46g/
stereobird Dec 15 '16 at 0:42 2016-12-15 00:42
source share