css实现照片墙相册随风摆动摇动动画效果代码
代码语言:html
所属分类:画廊相册
代码描述:css实现照片墙相册随风摆动摇动动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
body {
background: burlywood;
overflow: hidden;
}
img {
max-width: 100%;
}
.gallery {
display: flex;
align-items: flex-start;
justify-content: center;
margin-top: 5rem;
}
.gallery__image {
padding: 0.5rem 0.5rem 1.5rem;
background: white;
position: relative;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
transform-origin: center -5rem;
}
.gallery__image::before {
content: "";
display: block;
height: 10rem;
width: 2px;
background: saddlebrow.........完整代码请登录后点击上方下载按钮下载查看
网友评论0