css实现鼠标移入图片变大特效
作者:互联网
html代码:
<div class="img"> <img class="bigger" src="img/67.jpg" alt=""> </div>
css代码:
.bigger { transition:transform 1s; } .bigger:hover{ transform: scale(1.1,1.1); }
ps:关于这个参数可以看一下园友这篇transition&transform css中过度和变形的设置
标签:特效,1.1,代码,transition,transform,css,bigger,鼠标 来源: https://www.cnblogs.com/susu0110/p/10784803.html