Fixed article cover animation
This commit is contained in:
parent
e4f7675606
commit
7e2f2d5192
|
@ -113,7 +113,6 @@
|
||||||
padding-bottom: 56.2%; // 16:9
|
padding-bottom: 56.2%; // 16:9
|
||||||
position: relative;
|
position: relative;
|
||||||
transform-origin: 50% 50%;
|
transform-origin: 50% 50%;
|
||||||
transition: transform 1s ease-in-out;
|
|
||||||
|
|
||||||
&.loading {
|
&.loading {
|
||||||
background: rgb(0 0 0 / 20%);
|
background: rgb(0 0 0 / 20%);
|
||||||
|
@ -129,7 +128,7 @@
|
||||||
img,
|
img,
|
||||||
.placeholderCoverImage {
|
.placeholderCoverImage {
|
||||||
transform: scale(1);
|
transform: scale(1);
|
||||||
transition: transform 0.3s;
|
transition: transform 1s ease-in-out;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user