Demo
2024-02-02 2a945ca2b50122f6cc24ad0d5100e45ae42237fa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
@circle-prefix-cls: ~"@{css-prefix}chart-circle";
 
.@{circle-prefix-cls}{
    display: inline-block;
    position: relative;
 
    &-inner {
        width: 100%;
        text-align: center;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        line-height: 1;
    }
}