@import '~antd/es/style/variable.less'; .title { position: relative; width: 100%; padding-top: 8px; padding-left: 12px; font-weight: bolder; &::before { position: absolute; top: 11px; left: 0; width: 3px; height: 16px; background-color: @primary-color; border-radius: 4px; content: ''; } &::after { position: absolute; top: 18px; right: 0px; width: calc(100% - 160px); height: 1px; border-bottom: 1px dotted rgba(0, 0, 0, 0.1); border-radius: 4px; content: ''; } }