mirror of
https://github.com/liyunze-coding/RythonDev.git
synced 2026-09-22 07:44:26 +00:00
updated video hover animation
This commit is contained in:
parent
4d749b465e
commit
a180ac5966
1 changed files with 5 additions and 0 deletions
|
|
@ -168,4 +168,9 @@
|
||||||
transform: translateX(calc(-50% - 10px)) translateY(-50%)
|
transform: translateX(calc(-50% - 10px)) translateY(-50%)
|
||||||
translateZ(-50px) rotateY(-3deg);
|
translateZ(-50px) rotateY(-3deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.image-container:hover .frontfacing-vid,
|
||||||
|
.image-container:hover .background-img {
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue