I am working on a typical menu structure (ul>li>a
) and my goal is to add background effects like shadow and gradient into an <li>
element (ul>li>.shadow-bg-white
). The challenge I'm facing is that when hovering over the items from right to left, the items on the left side do not react to the :hover
pseudo-class.
You can view the issue in action here: http://jsfiddle.net/voilalal/P57yE/embedded/result/ or http://jsfiddle.net/voilalal/P57yE/6/
All blocks have the CSS position
property assigned, so theoretically z-index
should work correctly. However, it seems like the .shadow-bg-white
z-index
is placed higher than the a
item.
If you have any recommendations for a solution to this problem, I would greatly appreciate it!