有用的css
::before { content: ""; position: absolute; right: calc(100% + 0.3rem); top: 0.32rem; width: 0.8rem; height: 0.05333rem; background: linear-gradient(90deg,hsla(0,0%,100%,0),#fff); }
::after { content: ""; position: absolute; left: calc(100% + 0.3rem); top: 0.32rem; width: 0.8rem; height: 0.05333rem; background: linear-gradient(90deg,#fff,hsla(0,0%,100%,0));