欢迎来到魂牵梦绕的博客

比自己差的人还没放弃,比自己好的人仍在努力,我们没有资格说自己无能为力。生活,就是苦乐参半,睡前原谅一切,醒来不问过往,祝你岁月无波澜。
<style>
.box {
 width: 200px;
 background:
 repeating-linear-gradient(135deg, red, transparent 3px, #000 3px, #000 9px); 
animation: shine 1s infinite linear;
 overflow: hidden; 
} 
.text {
text-align:center;
font-size:3em;
line-height:50px;
 height: 128px; 
margin: 1px;
 padding: 10px; 
background-color:#fff; 
} 
@keyframes shine {
0% { background-position: -1px -1px;}
 100% { background-position: -12px-12px;} }
</style>

<div class="box">
    <div class="text">魂牵梦绕</div>
</div>

  

posted on 2021-03-14 11:53  乀魂牵乄梦绕  阅读(338)  评论(0)    收藏  举报