zoukankan      html  css  js  c++  java
  • 扑克牌反转

    利用了2d特效
    <title>扑克翻转</title>
        <style type="text/css">
            .box{
                300px;
                height: 600px;
                margin: 50px auto;
            }
            .box img{
                position: absolute;
                300px;
                height: 600px;
                border-radius: 3%;
                box-shadow:10px 10px 10px #999;
                transition: all 2s;
                transform-origin: bottom;
            }
            .box:hover img:nth-child(1){
                transform: rotate(30deg);
            }
            .box:hover img:nth-child(2){
                transform: rotate(20deg);
            }
            .box:hover img:nth-child(3){
                transform: rotate(10deg);
            }
            .box:hover img:nth-child(4){
                transform: rotate(0deg);
            }
            .box:hover img:nth-child(5){
                transform: rotate(-10deg);
            }
            .box:hover img:nth-child(6){
                transform: rotate(-20deg);
            }
            .box:hover img:nth-child(7){
                transform: rotate(-30deg);
            }
        </style>
    </head>
    <body>
        <div class="box">
            <img src="img/1.jpg">
            <img src="img/4.jpg">
            <img src="img/5.jpg">
            <img src="img/6.jpg">
            <img src="img/7.jpg">
            <img src="img/8.jpg">
            <img src="img/9.jpg">
        </div>
    </body>
  • 相关阅读:
    RK3288 GMAC整理
    Linux电源管理-Linux regulator framework概述
    SRAM、DRAM、SDRAM、DDR、DDR2、DDR3
    内核错误值
    module_param和module_param_array用法
    VGA
    如何获取显示器的EDID信息
    进程间通信--共享内存
    Java 中的 CAS 简述及原理解析
    volatile 关键字特性解析及单例模式下的使用
  • 原文地址:https://www.cnblogs.com/adialike/p/6401043.html
Copyright © 2011-2022 走看看