.tab-icon {
position: relative;
display: flex;
// 水平居中
justify-content: center;
// 垂直居中
align-items: center;
width: 45px;
// 伪类
&::after {
content: '';
position: absolute;
top: 12px;
bottom: 12px;
left: 0;
width: 1px;
background-color: #ddd;
}
}