
<section>
    <img src="images/fsw.png" >
    <img src="images/big-title.png" >
</section>
<div>
    <img src="images/boy.png" >
    <img src="images/girl.png" >
    <img src="images/girls.png" >
    <img src="images/hairboy.png" >
    <img src="images/mimi.png" >
    <img src="images/dog.png" >
    <img src="images/mudog.png" >
    <img src="images/shamegirl.png" >
</div>        *{
            margin:0;padding:0;
        }
        body,html{
            height:100%;
        }
        img{
            display: block;
        }    section{
        width: 768px;
        height: 768px;
        background: url(images/fsw.png) no-repeat center;
        position:fixed;
        left: 0;right: 0;
        top: 0;bottom: 0;
        margin: auto;
        animation:rotate-circle 10s infinite linear; 
    }
    section img:nth-child(2){
        position: absolute;
        left: 0;right: 0;
        top: 0;bottom: 0;
        margin: auto;
        animation:yuanxin 10s infinite linear;
    }
    div{
        width: 768px;
        height: 768px;
        position: fixed;
        left:0;right: 0;
        top: 0;bottom: 0;
        margin: auto;
        animation:rotate-circle 10s infinite linear;        
    }
    div img{
        position: absolute;
        animation:divimg 10s infinite linear reverse;
        transform-origin:50% 0;
    }
    div img:nth-child(1){
        left:325px;top:9px;
    }
    div img:nth-child(2){
        left:-30px;top:350px;
    }
    div img:nth-child(3){
        left:325px;bottom:-150px;
    }
    div img:nth-child(4){
        right:-17px;top:350px;
    }
    div img:nth-child(5){
        left:54px;top:120px;
    }
    div img:nth-child(6){
        right:54px;top:120px;
    }
    div img:nth-child(7){
        left:54px;top:606px;
    }
    div img:nth-child(8){
        right:128px;top:620px;
    }
    @keyframes rotate-circle{
        0%{transform:rotate(0);}
        50%{transform: rotate(180deg);}
        100%{transform:rotate(360deg);}
    }
    @keyframes yuanxin{
        0%{transform:rotate(0);}
        50%{transform:rotate(-180deg);}
        100%{transform:rotate(-360deg);}
    }
    @keyframes divimg{
        0%{transform:rotate(0);}
        50%{transform: rotate(180deg);}
        100%{transform:rotate(360deg);}
    }```
原文:https://www.cnblogs.com/web-learning/p/10291747.html