我想在我的网页中创建一个与Android Lollipop加载微调框相同的加载微调框...是否有通过CSS创建此控件的方法?
最佳答案
检查this网址
.circle-loader {
margin-left: 48%;
fill: transparent;
stroke: #009688;
stroke-width: 5;
animation: dash 2s ease infinite,rotate 2s linear infinite;
}
@keyframes dash {
0% {
stroke-dasharray: 1,95;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 85,95;
stroke-dashoffset: -25;
}
100% {
stroke-dasharray: 85,95;
stroke-dashoffset: -93;
}
}
@keyframes rotate {
0% {transform: rotate(0deg); }
100% {transform: rotate(360deg); }
}
关于css - Lollipop 样式加载微调器由CSS,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/37461496/