Fix animated image CSS
parent
9046380e16
commit
7b51a73a1c
|
@ -1,6 +1,5 @@
|
||||||
.animated-image {
|
.animated-image {
|
||||||
display: grid;
|
display: grid;
|
||||||
position: absolute;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
@ -18,6 +17,13 @@
|
||||||
z-index: 50;
|
z-index: 50;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.animated-image div {
|
||||||
|
background-size: contain;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
width: 100%;
|
||||||
|
height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.animated-image a {
|
.animated-image a {
|
||||||
top: 100%;
|
top: 100%;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
Loading…
Reference in New Issue