Does not change the frame color of a table cell?

You need to make so that when you hover over the table cell changed its color, and it should work transition. Now when you hover over a cell to change color on all sides.
https://jsfiddle.net/r0qrmo5q/2/

You can do so, but then will not work transition
https://jsfiddle.net/p14cuLgy/

How can I solve this problem?
July 9th 19 at 11:16
1 answer
July 9th 19 at 11:18
Solution
You can go the other way and paint the backgrounds https://jsfiddle.net/r0qrmo5q/3/

Find more questions by tags CSSHTML