博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
每日分享{动画}
阅读量:38313 次
发布时间:2022-01-23

本文共 713 字,大约阅读时间需要 2 分钟。

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Document</title>

    <style>

       .a{

        width: 300px;

        height: 300px;

        animation: run;

        animation-direction: 3s;

       }

       body{

        background-color: #ffe3e1;

       }

       .a1 img{

        width: 300px;

        height: 300px;

       }

       .a1{

        position: absolute;

       

       }

       @keyframes run{

        0%{

            transform: translateX(0PX);

        }

        50%{

            transform: translateX(1000px);

        }

        51%{

            transform: translateX(1000px) rotateY(180px);

        }

        100%{

            transform: translateX(0px) rotateY(180px);

        }

       }

    </style>

</head>

<body>

    <div class="a">

      <div class="a1">

        <img src="./imges/car.jpg" alt="">

      </div>

    </div>

</body>

</html>

转载地址:http://rweuuy.baihongyu.com/

你可能感兴趣的文章
【2019年乐山师范学院程序设计大赛 --- H. 两个子串】
查看>>
【2019年乐山师范学院程序设计大赛 --- I. 折线】
查看>>
【2019年乐山师范学院程序设计大赛 --- J. 寻找舞伴】贪心
查看>>
【2019年乐山师范学院程序设计大赛 --- K. 硬币】贪心
查看>>
【CodeForces 1163B2 --- Cat Party [Hard Edition]】
查看>>
【CodeForces 1272A --- Three Friends】
查看>>
【CodeForces 1272B --- Snow Walking Robot】
查看>>
【CodeForces 1272C --- Yet Another Broken Keyboard】
查看>>
【CodeForces 1272D --- Yet Remove One Element】DP
查看>>
【CodeForces 1272E --- Nearest Opposite Parity】
查看>>
【Bootstrap】基础
查看>>
【XML】概念,语法
查看>>
【XML】java解析XML(通过Jsoup实现)
查看>>
【CodeForces 1277A --- Happy Birthday, Polycarp!】
查看>>
【CodeForces 1277B --- Make Them Odd】
查看>>
【CodeForces 1277C --- As Simple as One and Two】
查看>>
【CodeForces 1277D --- Let's Play the Words?】
查看>>
【CodeForces 1277E --- Two Fairs】DFS
查看>>
【Tomcat】Tomcat基础入门
查看>>
【java】Servlet基础
查看>>