如何画一个圆然后是它在页面中闪烁显示

<style>
 div{
    width:100px;
    height:100px;
    border:1px solid      red;
    border-radius:100px;
    position:absolute;
}
   
#df{
    background-color:red;
    animation:mymove 1s infinite;
    -webkit-animation:mymove 2s infinite;
}
 
@keyframes mymove
{
from {opacity:0;}
to {opacity:1;}
}
 
@-webkit-keyframes mymove /*Safari and Chrome*/
{
from {opacity:none;}
to {opacity:block;}
}
</style>
</head>
<body>
<div id="df"></div>
</body>

如何给span标签画一个圆

.content-box .ac{
cursor: pointer;
padding:0px 9px;
border-radius:50%;
/* width:100px;
height:100px;*/
border:1px solid red;
/*position:absolute;*/
background-color:red;
animation:mymove 1s infinite;
-webkit-animation:mymove 1s infinite;
}

 

posted on 2019-08-23 17:08  嗯嗯呢  阅读(225)  评论(0编辑  收藏  举报