• css3 transform常见动画


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script type="text/javascript" src="http://www.5imoban.net/download/jquery/jquery-1.8.3.min.js"></script>
    <title>css3 transform动画</title>
    <style>
    .transform,.transform2,.transform3,.transform4,.transform5{100px;height: 50px;background: #ccc;-webkit-transition:all 1s ease-in-out;margin-bottom: 10px;}
    .transform:hover{-webkit-transform: rotate(360deg);}
    .transform2:hover{-webkit-transform: skew(-20deg);}
    .transform3:hover{-webkit-transform:scale(2.0)}
    .transform4:hover{-webkit-transform:translate(100px,0)}
    .transform5:hover{-webkit-transform:skew(30deg)}
    </style>
    <script>
    </script>
    </head>

    <body>
    <div class="transform"></div>
    <div class="transform2"></div>
    <div class="transform3"></div>
    <div class="transform4"></div>
    <div class="transform5"></div>
    </body>

    </html>

  • 相关阅读:
    CSS 文本
    javascript:void(0)的问题
    剑指offer
    牛课--C/C++
    Linux学习--第二波
    面经-csdn
    初学Linux
    二分查找法的实现和应用汇总
    vs2013下git的使用
    win10+vs2013+Qt5.4 安装方法
  • 原文地址:https://www.cnblogs.com/lily2015/p/4661590.html
Copyright © 2020-2023  润新知