2023-09-12 06:19:29 +00:00
|
|
|
.animated-image {
|
|
|
|
display: grid;
|
|
|
|
align-items: center;
|
|
|
|
text-align: center;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.animated-image > * {
|
|
|
|
grid-column: 1;
|
|
|
|
grid-row: 1;
|
|
|
|
position: relative;
|
|
|
|
transition: all 0.5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.animated-image img {
|
|
|
|
top: 0;
|
|
|
|
z-index: 50;
|
|
|
|
}
|
|
|
|
|
2023-09-15 12:35:45 +00:00
|
|
|
.animated-image div {
|
|
|
|
background-size: contain;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
width: 100%;
|
|
|
|
height: 0;
|
|
|
|
}
|
|
|
|
|
2023-09-12 06:19:29 +00:00
|
|
|
.animated-image a {
|
|
|
|
top: 100%;
|
|
|
|
text-decoration: none;
|
|
|
|
color: rgb(243, 243, 243);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.animated-image:hover img {
|
|
|
|
top: -100% !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.animated-image:hover a {
|
|
|
|
top: 0;
|
|
|
|
}
|