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; } }