Answer the question
In order to leave comments, you need to log in
How to fix css animation?
Good day, there is an image that should leave the left block and be fixed!
I know how to do this in CSS when hovering over a block, but how to make it so that when I hover over that block, the animation leaves and is fixed permanently! So that when you remove the mouse, does it stay there?
---
<style>
.section1 .section1-img{
position: absolute;
top: 40px;
left: -500px;
transition: 1s;
}
.section1:hover .section1-img{
transition: 1.3s;
left: 0;
}
</style>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question