abstract:<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>css3照片墻運(yùn)上發(fā)達(dá)效果</title> <style type="text/css"> .pic{margin:50px auto;width:500px
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>css3照片墻運(yùn)上發(fā)達(dá)效果</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;/*圖片放大過(guò)程的秒數(shù)*/}
.pic:hover img{
transform:scale(1.5);/*圖片放大的倍數(shù)*/
}
</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:簡(jiǎn)單的css3動(dòng)畫(huà)運(yùn)用好可以實(shí)現(xiàn)很多炫酷效果哦!