zoukankan      html  css  js  c++  java
  • 一个浮动 css3效果

    <!DOCTYPE html>
    <html lang="en">
    <head>
    	<meta charset="UTF-8">
    	<title>Document</title>
    	<style type="text/css">
    		div{
    			background: #639;
    			 235px;
    			height: 216px;
    			position: absolute;
    			top: 300px;
    			left: 300px;
    		}
    		/*nimation-delay:1s*/
    		@keyframes arrow1{
    			0%{transform: translateY(0);} 
    			100%{transform: translateY(10px);}
    		}
    
            @-webkit-keyframes arrow1{
            	0%{-webkit-transform: translateY(0);} 
            	100%{-webkit-transform: translateY(10px);}
            }
    
    		.arrow{
    			animation: arrow1 2s infinite; 
    			-webkit-animation: arrow1 2s infinite;
    			animation-timing-function:ease-in-out;
    			-webkit-animation-timing-function:ease-in-out; 
    			 
    			-webkit-animation-direction:alternate;
    			animation-direction:alternate;
    		}
    	</style>
    </head>
    <body>
    	<div class="arrow">
    		<img src="http://paas.mail.10086.cn/res/build/images/c04.png" />
    	</div>
    </body>
    </html>
      
    
    链接
    

      

  • 相关阅读:
    O(n^2)的排序方法
    99乘法表
    excel 转 csv
    批量关闭 excel
    tomcat 加入服务
    文件打包 zip
    字符串转换
    List数组种删除数据
    mybatis 批量上传
    sql server 查询表字段及类型
  • 原文地址:https://www.cnblogs.com/dhsz/p/6553671.html
Copyright © 2011-2022 走看看