img{ transition: all .6s; //过渡属性完成时间 } img:hover{ transform: scale(1.2); //放大倍数 } 转载于:https://www.cnblogs.com/xzybk/p/11323093.html