.button { display: inline-block; padding: 11px 20px; outline: 0; border: 1px solid #0075f2; border-radius: 3px; background-color: #0075f2; color: #fff; font-size: 16px; text-align: center; cursor: pointer; white-space: nowrap; } .button:active { opacity: 0.9; } .button:disabled { border: 1px solid #ddd; background-color: #f5f5f5; color: #bbb; cursor: not-allowed; } .button + .button { margin-left: 8px; } @media screen and (max-width: 1200px) { .button { padding: 10px 15px; font-size: 14px; } }