效果 代码 .jd-icon::after{ content: ""; position: absolute; right: -8px; display: block; width: 1px; height: 15px; background-color: #ccc; }