现状:最后一个margin-right没生效,box-sizing: border-box;也不生效 解决 &:last-child { position: relative; } &:last-child::after { content: ''; position: absolute; right: -16px; top: 0; display: block; width: 16px; height: 48px; }