我在dribbble上找到了这个链接:https://dribbble.com/shots/1438386-iOS7-longtouch-sharing-concept。
请问是否可以在GIF的前3秒内创建圆形进度条(其中进度条为圆的外边框)?
目前,我已经有了圆形本身,但是没有任何动画效果,您可以在jsfiddle上查看。
接下来,我该怎么做呢? HTML:
请问是否可以在GIF的前3秒内创建圆形进度条(其中进度条为圆的外边框)?
目前,我已经有了圆形本身,但是没有任何动画效果,您可以在jsfiddle上查看。
接下来,我该怎么做呢? HTML:
<div class="circle"></div>
CSS:
body {
background-color: #3a88cd;
padding: 60px;
}
.circle {
width: 60px;
height: 60px;
background: white;
position: relative;
border-radius: 100%;
}
.circle:after {
content: "";
display: block;
position: absolute;
top: -8px;
left: -8px;
bottom: -8px;
right: -8px;
border: 3px solid white;
border-radius: 100%;
}