div+css实现放大镜通讯录搜索动画效果代码
代码语言:html
所属分类:动画
代码描述:div+css实现放大镜通讯录搜索动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
body {
width: 100vw;
height: 100vh;
background-image: linear-gradient(to right bottom, #2e2150, #2a1d4c, #271948, #231645, #1f1241);
}
.container {
margin: auto;
position: absolute;
bottom: 0;
left: 0;
top: 0;
right: 0;
top: -125px;
height: 300px;
width: 300px;
}
.container .contact-card {
margin: auto;
position: absolute;
bottom: 0;
left: 0;
top: 0;
right: 0;
width: 250px;
height: 120px;
background-color: #fcecf3;
border-radius: 4px;
border-bottom: 8px solid #d2afd3;
animation: contact-card-animate 3s ease-in-out infinite;
overflow: hidden;
opacity: 0;
}
.container .contact-card:nth-child(2) {
animation-delay: 1.5s;
}
.container .contact-card .avatar {
margin: auto;
position: absolute;
bottom: 0;
left: 0;
top: 0;
right: 0;
left: -125px;
width: 65px;
height: 65px;
background-color: #d2afd3;
border-radi.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0