Z Wikibooks, biblioteki wolnych podręczników.
.pasek_postępu:before, .pasek_postępu:after {
position: absolute;
content: '';
}
.pasek_postępu {
margin: 3px auto 0;
width: 1.2em;
height: 1.2em;
border-radius: 100%;
background: linear-gradient(to right, #F34A53 10%, rgba(243, 74, 83, 0) 42%);
animation: animation 1.4s infinite linear;
display:inline-block;
}
.pasek_postępu:before{
width: 50%;
height: 50%;
background: #F34A53;
border-radius: 100% 0 0 0;
}
.pasek_postępu:after{
background: #fff;
width: 70%;
height: 70%;
border-radius: 100%;
margin: auto;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
@keyframes animation{
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/*{{Kategoria|Szablony - arkusze stylów}}*/