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.

enter image description here

<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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -