.circular-progress { position: relative; svg { width: 70px; height: 70px; path { stroke-width: 8; stroke-linecap: round; stroke: url(#gradient); fill: none; } circle { fill: none; stroke: #dcdcdc; stroke-width: 8; } } .percent { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); line-height: 1; font-size: 14px; } }