SyntaxFix
Write A Post
Hire A Developer
Questions
A single css code on hover can do the trick: box-shadow: inset 100px 0 0 0 #e0e0e0;
box-shadow: inset 100px 0 0 0 #e0e0e0;
A complete demo can be found in my fiddle:
https://jsfiddle.net/shuvamallick/3o0h5oka/