最佳答案
<!DOCTYPE html>
<html >
<head>
<style type="text/css">
.zoomin img {
height: 200px;
width: 200px;
-webkit-transition: all 2s ease;
-moz-transition: all 2s ease;
-ms-transition: all 2s ease;
transition: all 2s ease;
}
.zoomin img:hover {
width: 300px;
height: 300px;
}
</style>
</head>
<body>
<div class="zoomin">
<img src="img/image.png" />
</div>
</body>
</html>
希望对你有帮助
关于css - 如何使用 CSS3 为箭头设置动画,使其看起来像是在增长?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38968178/