{ box-sizing: border-box; } body { margin: 0; padding: 0; background: #333; } .percent-count { width: 450px; height: 50px; margin: 100px auto; font-size: 50px; text-align: center; color: #fff; }