Partial "X" shape over image on hover
by web tiki
HTML
<div id="xdiv" >
<div class="xdiv1">
<div class="xdiv2"></div>
</div>
</div>
CSS
#xdiv {
width: 200px;
height: 200px;
border: 1px solid #999;
background-image: url('http://placehold.it/200x200');
}
#xdiv:hover {
cursor: pointer;
opacity: .4;
}
#xdiv:hover .xdiv1 {
height: 100px;
width: 1px;
margin-left: 100px;
border-top: 50px solid #333;
border-bottom: 50px solid #333;
transform: rotate(45deg);
-ms-transform: rotate(45deg); /* IE 9 */
-webkit-transform: rotate(45deg); /* Safari and Chrome */
z-index: 1;
}
#xdiv:hover .xdiv2 {
position:relative;
top:-50px;
height: 100px;
width: 1px;
border-top: 50px solid #333;
border-bottom: 50px solid #333;
transform: rotate(90deg);
-ms-transform: rotate(90deg); /* IE 9 */
-webkit-transform: rotate(90deg); /* Safari and Chrome */
z-index: 2;
}