照片墙
自己提供照片:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>照片墙</title>
<link href="https://cdn.bootcss.com/animate.css/3.5.2/animate.css" rel="stylesheet">
<style>
body,ul{
margin: 0;
padding: 0;
list-style: none;
display:flex;
}
div{
position: relative;
margin: 50px auto;
width: 919px;
border: 3px solid green;
align-items:flex-start;
justify-content:flex-start;
flex-wrap:wrap;
}
img{
text-align: center;
width: 160px;
height: 120px;
margin: 10px;
background: pink;
color: #fff;
line-height: 120px;
}
img{
animation: mymove 5s infinite;
}
</style>
</head>
<body>
<div>
<img src="img/1.jpg" alt="" class="animate bounceOut">
<img src="img/2.jpg" alt="" class="animate bounceOut">
<img src="img/3.jpg" alt="" class="animate bounceOut">
<img src="img/4.jpg" alt="" class="animate bounceOut">
<img src="img/5.jpg" alt="" class="animate bounceOut">
<img src="img/6.jpg" alt="" class="animate bounceOut">
<img src="img/01.jpg" alt="" class="animate bounceOut">
<img src="img/02.jpg" alt="" class="animate bounceOut">
<img src="img/03.jpg" alt="" class="animate bounceOut">
<img src="img/04.jpg" alt="" class="animate bounceOut">
<img src="img/1.jpg" alt="" class="animate bounceOut">
<img src="img/2.jpg" alt="" class="animate bounceOut">
<img src="img/3.jpg" alt="" class="animate bounceOut">
<img src="img/4.jpg" alt="" class="animate bounceOut">
<img src="img/5.jpg" alt="" class="animate bounceOut">
<img src="img/6.jpg" alt="" class="animate bounceOut">
<img src="img/01.jpg" alt="" class="animate bounceOut">
<img src="img/02.jpg" alt="" class="animate bounceOut">
<img src="img/03.jpg" alt="" class="animate bounceOut">
<img src="img/04.jpg" alt="" class="animate bounceOut">
</div>
</body>
</html>