h1

   
}  
        .wrap > img{  
            position: absolute;  
            border: 10px solid magenta;  
            box-sizing: border-box; 
 
            box-shadow: 4px 4px 3px rgba(0,0,0,0.2);  
            -webkit-transform-origin: center 400px;  
            transform-origin:center 400px;  
            -webkit-transition: transform .7s ease;  
            transition: transform .7s ease;/*移动时间为0.7s,速度为慢->快->慢*/  
        }  


猜你喜欢

转载自blog.csdn.net/cpongo1/article/details/80664120
h1