CSS에서 슬라이드 애니메이션이 있습니다. 이 효과를 유지할 수있는 기회가 있습니까?CSS 애니메이션 효과를 유지하는 방법은 무엇입니까?
#arch{
margin-top:5%;
width:222px;
height:222px;
background-image:url(img/arch.jpg);
box-shadow:0px 0px 3px #000000;
}
#arch:hover{
-webkit-animation:przesuniecie 1s 1 alternate;
}
@-webkit-keyframes przesuniecie
{
from {width:222px;}
to {width:0px;}
}
yea하지만 div가 가리킨 후에 해당 animat goeas 싶습니다. BTW. 마우스 오버를 제거하면 여전히 222px aftre 애니메이션으로 돌아갑니다. –
@Dudi im confused, 당신은 애니메이션을 유지하면서': hover' 이벤트도 유지하고 싶습니까? 정확히 무엇을 지키려고하는거야? –
@Ander Ilich 타일을 슬라이드하여 그 타일 아래에있는 텍스트를 읽고 싶습니다. –