Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/40.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
动画css上的冻结状态位置_Css_Animation - Fatal编程技术网

动画css上的冻结状态位置

动画css上的冻结状态位置,css,animation,Css,Animation,我想在hover上保存.pole main.pole gatherings.img:hover元素的图像位置 使用动画css效果冻结它 当悬停退出时,我想将其设置回动画 如.pole main.pole gatherings.img:hover 将动画从关键帧更改为过渡: .pole-main .pole-gatherings .img{ width: 283px; height: 102px; background-color: blue; transiti

我想在
hover
上保存
.pole main.pole gatherings.img:hover
元素的图像位置

使用
动画
css效果冻结它

悬停
退出时,我想将其设置回动画

.pole main.pole gatherings.img:hover


将动画从关键帧更改为过渡:

  .pole-main .pole-gatherings .img{
    width: 283px;
    height: 102px;
    background-color: blue;
    transition: transform .7s;
    transform-origin: 0% 0%;
    transition-timing-function: ease-out;
  }
  .pole-main .pole-gatherings .img:hover{
    transform: perspective(300px) rotateY(-5deg);
  }