Template:Progress ring/ProgressRing.css: Difference between revisions
From Portals of Phereon Wiki
Content added Content deleted
(Kozd changed the content model of the page Template:Progress ring/ProgressRing.css from "Sanitized CSS" to "CSS": internal error) Tag: content model change |
(Kozd changed the content model of the page Template:Progress ring/ProgressRing.css from "CSS" to "Sanitized CSS": back to template style) Tag: content model change |
||
(No difference)
|
Latest revision as of 04:43, 19 January 2021
.progress-ring {
position: relative;
border-radius: 50%;
}
.progress-ring .circle .mask,
.progress-ring .circle .fill,
.progress-ring .circle .shadow {
width: 100%;
height: 100%;
position: absolute;
border-radius: 50%;
}
.progress-ring .inset {
position: absolute;
border-radius: 50%;
}
.progress-ring .inset .percentage {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
.progress-ring .inset .percentage .numbers span {
font-weight: 800;
}