CSS
.zoomInOn, .zoomInOff, .zoomOutOn, .zoomOutOff
{
width:34px;
height:34px;
display:block;
position:absolute;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.zoomInOn, .zoomInOff
{
background-image:url(../assets/zoom_in.png);
top:10px;
right:10px;
}
.zoomOutOn, .zoomOutOff
{
background-image:url(../assets/zoom_out.png);
top:52px;
right:10px;
}
.zoomInOn, .zoomOutOn
{
opacity:1;
cursor:pointer;
}
.zoomInOff, .zoomOutOff
{
opacity:0.3;
cursor:auto;
}
.imageHolder
{
width:50%;
position:relative;
margin-top:10px;
margin-bottom:10px;
display:inline-block;
*display: inline;
zoom: 1;
}
@media (max-width: 480px)
{
.imageHolder
{
width:100%;
position:relative;
margin-top:10px;
margin-bottom:10px;
display:inline-block;
}
}