I want to cast additional shadows with pseudo-elements ::after and ::before to create sort of a page curl effect. But whenever an <img> is involved its src keeps overlaying the shadow. Is that a general limitation or is there a workaround?
<ul>
<li class="imgContainer"><img class="imgFake" /><br><span class="imageTag">some Title</span></li>
<li class="imgContainer"><img class="imgFake" src="http://wallpaperstock.net/maggie-grace-portrait_wallpapers_14105_1600x1200.jpg"/><br><span class="imageTag">some Title</span></li>
<li class="imgContainer" style="margin-bottom:50px;"><img class="imgFake" src="http://wallpaperstock.net/maggie-grace-portrait_wallpapers_14105_1600x1200.jpg"/><br><span class="imageTag" style="top:auto; bottom:27px;">some Title</span></li>
</ul>
Please, take a look: http://jsfiddle.net/BpgXC/12/
I’ve changed
img.imgFakez-index: