3
I have the following code http://codepen.io/leoamrl/pen/xErdQL which so far is exactly how I want it. Except because I want the Hover effect to appear from right to left. How could I do it with box shadow?
Follow how is the layout to get an idea.
I’m racking my brain but I haven’t got anything yet.
If you have any other solution for this that does not use box shadow also serves, as long as you do not use images.
Thank you very much!
I thought about it, but the Art Director wants it the way it is in the layout.
– haRdy
@Leoamaral gave a change, I hope it helps...
– MagicHat
The idea would be that the shadow would appear only in half the text, not type bg, as is there.
– haRdy
How exactly is the effect you want ? From right to left, half of vertical ? Half of horizontal ? Half of 2 ?
– MagicHat
From right to left. I got the exact answer here: http://stackoverflow.com/questions/40209915/box-shadow-appearing-from-right-to-left
– haRdy
@Exact Leoamaral, exact as a programmer’s vision should be, is not, after all the colors are in black and white ;) I made a change that I believe was more accurate than the "exact" ... Hug
– MagicHat