Demo
2024-02-02 5a03e3053f7958f78f280f6da3c8b68cd0b491dc
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;
    }
}