NRK*_*rby 5 html css twitter-bootstrap
我正在使用这个引导主题的网站上工作.当鼠标悬停在任何图像上时,会出现缩放图标 - 如何将其删除?
我尝试删除class="zoomIcon"并查看此网站以及在Google上搜索.
HTML:
<div class="product-main-image-container">
<img src="../../images/products/prod1.png" alt="" class="product-loader" style="display: none;">
<span class="thumbnail product-main-image" style="position: relative; overflow: hidden;">
<img src="../../images/products/prod1.png" alt="">
<img src="../../images/products/prod1.png" class="zoomImg"
style="position: absolute; top: -0.0456852791878173px; left: -1.23350253807107px; opacity: 0; width: 400px; height: 400px; border: none; max-width: none; max-height: none;">
</span>
</div>
Run Code Online (Sandbox Code Playgroud)
小智 5
您可以将其添加到CSS:
<style>
img:hover {
cursor: default;
}
</style>
Run Code Online (Sandbox Code Playgroud)
我希望这对你有所帮助!