.suspend-cart { position: fixed; right: 30px; bottom: 140px; z-index: 10; width: 88px; height: 88px; border-radius: 50%; background: rgba(0, 0, 0, 0.3); text-align: center; line-height: 88px; a { display: block; width: 100%; height: 100%; } .iconfont { color: #fff; font-size: 36px; } .cart-count { position: absolute; top: -24px; right: -20px; width: 72px; height: 72px; border-radius: 50%; background: #f03d35; color: #fff; text-align: center; font-size: 40px; line-height: 72px; transform: scale(0.5); } }