abstract:<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>css3照片墙运上发达效果</title> <style type="text/css"> .pic{margin:50px auto;width:500px
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>css3照片墙运上发达效果</title>
<style type="text/css">
.pic{margin:50px auto;width:500px;}
img{border:1px solid red;width:100px;height:100px;box-shadow: 10px 10px 5px #888888;border-radius:50px; transition: all 0.5s;/*图片放大过程的秒数*/}
.pic:hover img{
transform:scale(1.5);/*图片放大的倍数*/
}
</style>
</head>
<body>
<div class="pic">
<div><img src="1.jpg"><br></div>
</div>
</body>
</html>
Correcting teacher:灭绝师太Correction time:2019-02-25 16:34:46
Teacher's summary:简单的css3动画运用好可以实现很多炫酷效果哦!