<li id="mya9m"></li>
  • \n\n    \n        \n    <\/div>\n    \n        \n    <\/div>\n    \n        \n    <\/div>\n    \n        \n    <\/div>\n    \n        \n    <\/div>\n    \n        \n    <\/div>\n    \n        \n    <\/span>\n    \n        \n    <\/span>\n    \n        \n    <\/span>\n    \n        \n    <\/span>\n    \n        \n    <\/span>\n    \n        \n    <\/span>\n<\/div>\n<\/body>\n<\/html><\/pre>

    \"Front-end<\/p>\n

    This is the only step to get rid of being single. Hurry up and learn, and remember to come back and follow us! <\/p>"}

    国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

    Home Daily Programming CSS Knowledge Front-end special effects 520 confession artifact-rotating photo wall

    Front-end special effects 520 confession artifact-rotating photo wall

    Apr 28, 2020 pm 06:42 PM

    520 is coming soon, and I will teach you how to use the white magic tool. Single programmers feel that it is very easy to learn.

    Production steps:

    1. Create a new code directory, create a new file index.html, and copy the following code into the file

    2. Create a new file Clip image, find 12 pictures and put them in, modify the src attribute corresponding to the imgae tag, and the cool photo rotation is completed.

    3. The code effect is as follows, double-click index.html or drag it directly to the browser to open it

    <!doctype html>
    <html>
    <head>
        <meta charset="utf-8">
        <title>520表白神器-照片特效</title>
        <style>
            *{
                padding:0;
                margin:0;
            }
            #react{
                width: 200px;
                height:200px;
                margin: 200px auto;
                transform-style:preserve-3d;
                animation:rotate 20s infinite;
                animation-timing-function: linear;
            }
            #react div{
                position:absolute;
                transition: all .4s;
            }
            div .out_pic{
                width:200px;
                height:200px;
                opacity:0.9;
            }
            div .in_pic{
                width:100px;
                height:100px;
            }
            #react span{
                display:block;
                position:absolute;
                width:100px;
                height:100px;
                top:50px;
                left:50px;
            }
            @keyframes rotate{
                from{transform: rotateX(0deg) rotateY(0deg);}
                to{transform: rotateX(360deg) rotateY(360deg);}
            }
            .out_frount{
                transform:translateZ(100px);
            }
            .out_back{
                transform:translateZ(-100px);
            }
            .out_left{
                transform:rotateY(90deg) translateZ(100px);
            }
            .out_right{
                transform: rotateY(-90deg) translateZ(100px);
            }
            .out_top{
                transform:rotateX(90deg) translateZ(100px);
            }
            .out_bottom{
                transform: rotateX(-90deg) translateZ(100px);
            }
            .in_frount{
                transform:translateZ(50px);
            }
            .in_back{
                transform:translateZ(-50px);
            }
            .in_left{
                transform:rotateY(90deg) translateZ(50px);
            }
            .in_right{
                transform: rotateY(-90deg) translateZ(50px);
            }
            .in_top{
                transform:rotateX(90deg) translateZ(50px);
            }
            .in_bottom{
                transform: rotateX(-90deg) translateZ(50px);
            }
            #react:hover .out_frount{
                transform:translateZ(200px);
            }
            #react:hover .out_back{
                transform:translateZ(-200px);
            }
            #react:hover .out_left{
                transform:rotateY(90deg) translateZ(200px);
            }
            #react:hover .out_right{
                transform: rotateY(-90deg) translateZ(200px);
            }
            #react:hover .out_top{
                transform:rotateX(90deg) translateZ(200px);
            }
            #react:hover .out_bottom{
                transform: rotateX(-90deg) translateZ(200px);
            }
            @charset "utf-8";
            /* CSS Document */
        </style>
    </head>
    
    <body>
    <div id="react">
        <div class="out_frount">
            <image src="image/1.jpg" class="out_pic">
        </div>
        <div class="out_back">
            <image src="image/1.jpg" class="out_pic">
        </div>
        <div class="out_left">
            <image src="image/1.jpg" class="out_pic">
        </div>
        <div class="out_right">
            <image src="image/1.jpg" class="out_pic">
        </div>
        <div class="out_top">
            <image src="image/1.jpg" class="out_pic">
        </div>
        <div class="out_bottom">
            <image src="image/1.jpg" class="out_pic">
        </div>
        <span class="in_frount">
            <image src="image/1.jpg" class="in_pic">
        </span>
        <span class="in_back">
            <image src="image/1.jpg" class="in_pic">
        </span>
        <span class="in_left">
            <image src="image/1.jpg" class="in_pic">
        </span>
        <span class="in_right">
            <image src="image/1.jpg" class="in_pic">
        </span>
        <span class="in_top">
            <image src="image/1.jpg" class="in_pic">
        </span>
        <span class="in_bottom">
            <image src="image/1.jpg" class="in_pic">
        </span>
    </div>
    </body>
    </html>

    Front-end special effects 520 confession artifact-rotating photo wall

    This is the only step to get rid of being single. Hurry up and learn, and remember to come back and follow us!

    The above is the detailed content of Front-end special effects 520 confession artifact-rotating photo wall. For more information, please follow other related articles on the PHP Chinese website!

    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

    Hot AI Tools

    Undress AI Tool

    Undress AI Tool

    Undress images for free

    Undresser.AI Undress

    Undresser.AI Undress

    AI-powered app for creating realistic nude photos

    AI Clothes Remover

    AI Clothes Remover

    Online AI tool for removing clothes from photos.

    Clothoff.io

    Clothoff.io

    AI clothes remover

    Video Face Swap

    Video Face Swap

    Swap faces in any video effortlessly with our completely free AI face swap tool!

    Hot Tools

    Notepad++7.3.1

    Notepad++7.3.1

    Easy-to-use and free code editor

    SublimeText3 Chinese version

    SublimeText3 Chinese version

    Chinese version, very easy to use

    Zend Studio 13.0.1

    Zend Studio 13.0.1

    Powerful PHP integrated development environment

    Dreamweaver CS6

    Dreamweaver CS6

    Visual web development tools

    SublimeText3 Mac version

    SublimeText3 Mac version

    God-level code editing software (SublimeText3)