SOURCE

console 命令行工具 X clear

                    
>
console
<div class="main">
	<div class="headimg"><img
                src="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1602318565041&di=74256a4e0b05038ab5e244461bc5defb&imgtype=0&src=http%3A%2F%2Fwww.36588.com.cn%3A8080%2FImageResourceMongo%2FUploadedFile%2Fdimension%2Fbig%2F82468fc2-03da-44a0-82b5-7c7db3b23613.png"
                alt=""></div>
    <div class="title">原神 粉丝 交流 QQ群</div>
    <div class="aa"><span>12345 67893</span></div>
</div>
:root {
    background: #808080;
}

@keyframes imgsuoxiao {
    0%,
    60% {
        transform: scale(1)
    }
    100% {
        transform: scale(0)
    }
}

.main {
    width: 280px;
    height: 65px;
    overflow: hidden;
    position: relative;
}

.headimg {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    animation: imgsuoxiao 10s forwards cubic-bezier(0.895, 0.03, 0.685, 0.22) infinite alternate;
    z-index: 10;
}

.headimg>img {
    width: 66px;
    border-radius: 50%;
    animation: imgsuoxiao 10s forwards cubic-bezier(0.895, 0.03, 0.685, 0.22) infinite alternate;
}

.aa {
    width: 400px;
    height: 50px;
    /* background: burlywood; */
    background: #fff;
    border-radius: 0 15px 15px 0;
    /* animation: hide 5s infinite alternate; */
    animation: hideAA 10s forwards cubic-bezier(0.895, 0.03, 0.685, 0.22) infinite alternate;
    /* transition-property: width;
    transition-duration: 2s;
    transition-delay: 2s; */
    font-size: 25px;
    position: absolute;
    bottom: 0;
    left: 40px;
    z-index: -1;
}

@keyframes hideTitle {
    /* to{
        left: -500px;
    } */
    0%,
    80% {
        left: 40px;
    }
    100% {
        left: -500px;
    }
}

@keyframes hideAA {
    /* to{
        left: -500px;
    } */
    0%,
    70% {
        left: 40px;
    }
    100% {
        left: -500px;
    }
}

.title {
    width: 180px;
    height: 30px;
    line-height: 30px;
    background: #000003;
    border-radius: 0 50px 50px 0;
    color: #fff;
    padding-left: 40px;
    margin-bottom: -15px;
    /* animation: titlesuoxiao 5s infinite alternate; */
    animation: hideTitle 10s forwards cubic-bezier(0.895, 0.03, 0.685, 0.22) infinite alternate;
    position: absolute;
    left: 40px;
}

.aa>span {
    position: absolute;
    bottom: 0;
    margin-left: 40px;
}