.pager { font-size: 12px; a { height: 24px; padding: 0 9px; line-height: 24px; display: inline-block; text-align: center; margin-right: 8px; color: #222; &.cur { color: #fff; background-color: #222; } &:first-child .iconfont { right: auto; left: -5px; } } .iconfont { position: relative; vertical-align: middle; bottom: 1px; right: -5px; font-size: 14px; } }