180 lines
3.7 KiB
CSS
180 lines
3.7 KiB
CSS
.card-pos-box{
|
|
/* background-color: #f8f8f8; */
|
|
}
|
|
.love-story-title-box{
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
margin-bottom: 80px;
|
|
}
|
|
|
|
.love-story-title-box h4{
|
|
margin-top: 10px;
|
|
}
|
|
|
|
|
|
.card-pos-box{
|
|
width: 100%;
|
|
/* margin: 150px 0; */
|
|
padding: 100px 0;
|
|
/* background-color: #f8f8f8; */
|
|
}
|
|
.content {
|
|
width: 100%;
|
|
position: relative;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
.content .card1 {
|
|
position: relative;
|
|
height: 500px;
|
|
margin: 0 80px;
|
|
}
|
|
.content .card1 .show-wrapper {
|
|
z-index: 10;
|
|
transition: 0.4s;
|
|
}
|
|
.content .card1 .show-wrapper .pic-wrapper {
|
|
width: 300px;
|
|
height: 300px;
|
|
transition: 0.4s;
|
|
}
|
|
.content .card1 .show-wrapper .pic-wrapper img {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 20px;
|
|
object-fit: cover;
|
|
}
|
|
.content .card1 .show-wrapper .title {
|
|
margin: 10px 0;
|
|
}
|
|
.content .card1 .show-wrapper .show-info {
|
|
display: flex;
|
|
flex-direction: row;
|
|
color: #cccccc;
|
|
justify-content: space-between;
|
|
}
|
|
.content .card1 .show-wrapper .show-info .show-info-item svg {
|
|
width: 30px;
|
|
height: 30px;
|
|
vertical-align: middle;
|
|
}
|
|
.content .card1 .hover-wrapper {
|
|
display: none;
|
|
position: relative;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
opacity: 1;
|
|
transition: 0.5s;
|
|
/* margin-top: 10px; */
|
|
}
|
|
.content .card1 .hover-wrapper .hover-info {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
height: 100%;
|
|
font-size: 25px;
|
|
}
|
|
.content .card1 .hover-wrapper .hover-info .info-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.content .card1 .hover-wrapper .hover-info .info-item .info-item-title {
|
|
font-size: 20px;
|
|
color: #cccccc;
|
|
}
|
|
.content .card1 .hover-wrapper .hover-info .line {
|
|
width: 2px;
|
|
height: 2vw;
|
|
margin: 20px 1vw 0 1vw;
|
|
background: #cccccc;
|
|
}
|
|
.content .card1 .hover-wrapper .btn {
|
|
width: 90%;
|
|
margin-top: 30px;
|
|
border-radius: 50px;
|
|
background-color: rgb(67, 119, 216);
|
|
border: 0;
|
|
font-size: 20px;
|
|
cursor: pointer;
|
|
color: #fff;
|
|
}
|
|
.content .card1 .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(http://tool.aerwen.net/prod-api/Uploads/uploads/20230816/47B42E97B65317FB.png);
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
background-position: top;
|
|
}
|
|
.content .card1:hover .show-wrapper {
|
|
transform: translateY(-25%);
|
|
}
|
|
.content .card1:hover .show-wrapper .pic-wrapper {
|
|
transform: scale(0.8);
|
|
}
|
|
.content .card1:hover .show-wrapper .title {
|
|
animation: nameAmt 0.5s ease-in-out forwards;
|
|
}
|
|
.content .card1:hover .show-wrapper .show-info {
|
|
opacity: 0;
|
|
}
|
|
.content .card1:hover .hover-wrapper {
|
|
animation: hoverWrapperAmt 0.5s ease-in-out forwards;
|
|
display: flex;
|
|
transform: translateY(-100%);
|
|
}
|
|
.content .card1: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 */
|
|
|
|
.love-story-btn-box{
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.love-story-btn-box .btn {
|
|
margin-top: 30px;
|
|
border-radius: 50px;
|
|
background-color: rgb(67, 119, 216);
|
|
padding: 5px 100px;
|
|
border: 0;
|
|
font-size: 20px;
|
|
cursor: pointer;
|
|
color: #fff;
|
|
} |