代码拉取完成,页面将自动刷新
同步操作将从 yymao/cards 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
* {
padding: 0;
margin: 0;
}
body {
background-color: rgb(244, 241, 249);
background-image: url(./asset/grid.svg);
background-repeat: repeat;
background-size: 300px 300px;
color: #000;
}
.content {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.content .card {
position: relative;
}
.content .card .show-wrapper {
z-index: 10;
transition: 0.4s;
}
.content .card .show-wrapper .pic-wrapper {
width: 300px;
height: 300px;
transition: 0.4s;
}
.content .card .show-wrapper .pic-wrapper video {
width: 100%;
height: 100%;
border-radius: 20px;
}
.content .card .show-wrapper .title {
margin: 10px 0;
}
.content .card .show-wrapper .show-info {
display: flex;
flex-direction: row;
color: #cccccc;
justify-content: space-between;
}
.content .card .show-wrapper .show-info .show-info-item svg {
width: 30px;
height: 30px;
vertical-align: middle;
}
.content .card .hover-wrapper {
display: none;
position: relative;
flex-direction: column;
align-items: center;
opacity: 1;
transition: 0.5s;
}
.content .card .hover-wrapper .hover-info {
display: flex;
flex-direction: row;
justify-content: center;
height: 100%;
font-size: 2vw;
}
.content .card .hover-wrapper .hover-info .info-item {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.content .card .hover-wrapper .hover-info .info-item .info-item-title {
font-size: 0.8vw;
color: #cccccc;
}
.content .card .hover-wrapper .hover-info .line {
width: 2px;
height: 4vh;
margin: 0 1vw;
background: #cccccc;
}
.content .card .hover-wrapper .btn {
width: 90%;
height: 40px;
margin-top: 2vh;
border-radius: 50px;
background-color: rgb(67, 119, 216);
border: 0;
font-size: 1vw;
cursor: pointer;
color: #fff;
}
.content .card .background {
background-color: #fff;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: 20px;
z-index: -1;
transition: 0.5s;
transform: scale(0.2, 0.9);
opacity: 0;
height: 80%;
box-shadow: 0px 10px 32px 1px rgb(221, 219, 219);
background-image: linear-gradient(rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.7) 20%, rgb(255, 255, 255) 60%, rgb(255, 255, 255) 100%), url(./asset/bg.png);
background-size: cover;
background-repeat: no-repeat;
background-position: top;
}
.content .card:hover .show-wrapper {
transform: translateY(-25%);
}
.content .card:hover .show-wrapper .pic-wrapper {
transform: scale(0.8);
}
.content .card:hover .show-wrapper .title {
animation: nameAmt 0.5s ease-in-out forwards;
}
.content .card:hover .show-wrapper .show-info {
opacity: 0;
}
.content .card:hover .hover-wrapper {
animation: hoverWrapperAmt 0.5s ease-in-out forwards;
display: flex;
transform: translateY(-100%);
}
.content .card:hover .background {
opacity: 1;
transform: scale(1.1);
}
@keyframes nameAmt {
0% {
opacity: 0;
text-align: center;
}
100% {
opacity: 1;
text-align: center;
transform: translateY(-55%);
}
}
@keyframes hoverWrapperAmt {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}/*# sourceMappingURL=style.css.map */
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。