div+css实现联系人名片卡片堆叠翻转显示效果代码
代码语言:html
所属分类:布局界面
代码描述:div+css实现联系人名片卡片堆叠翻转显示效果代码
代码标签: div css 联系人 名片 卡片 堆叠 翻转 显示
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
@import url("https://fonts.googleapis.com/css2?family=Comfortaa&family=Dancing+Script&display=swap");
body {
overflow-x: hidden;
color: #fff;
margin: 0 auto;
}
body * {
font-family: "Comfortaa", cursive;
}
body p, body h1, body h2, body h3, body h4, body h5, body h6 {
margin: 0;
}
body a {
color: #fff;
text-decoration: none;
}
body ul, body li {
padding: 0;
margin: 0;
list-style-type: none;
}
.cardSection {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: center;
align-content: center;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
min-height: 100vh;
background-blend-mode: soft-light;
background-color: rgba(0, 0, 0, 0.9);
overflow: hidden;
transition: ease all 0.3s;
}
.cardSection.opacity {
opacity: 0;
}
.cardSection .container {
display: flex;
flex-direction: column;
flex-wrap: wrap;
align-items: center;
justify-content: center;
align-content: center;
width: 90%;
margin: 0 auto;
height: 250px;
position: relative;
perspective: 1000px;
transition: ease all 0.5s;
}
.ca.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0