html - How to ignore transparent place on hover event -
how ignore transparent place on hover event ? in first picture need ignore "this place". need hover on rhombus works only.
<img src='http://s30.postimg.org/xpd6gwla9/1_copy.jpg' id="first"> #first:hover { -moz-box-shadow: 3px 3px 5px 6px #ccc; -webkit-box-shadow: 3px 3px 5px 6px #ccc; box-shadow: 3px 3px 5px 6px #ccc; }
you can't. might able using svg element (not in <img>
tag), normal image bounding box rectangular, , box shadows or other styles applied box instead of contours of image.
Comments
Post a Comment