CSS鼠标悬停,图片放大
.imgBox { width:200px; height:200px; overflow:hidden; } .imgBox img { width:200px; height:200px; transition:all .4s; -moz-transition:all .4s; -webkit-transition:all .4s; -o-transition:all .4s; } .imgBox img:hover { transform:scale(1.2); }