<table class="form-table">
  <tbody>
    <tr>
      <th scope="row">
        <label for="count">구입 수량</label>
      </th>
      <td>
        <input type="number" inputmode="numeric" value="1"
               id="count"
               onfocus="this.select()">개
      </td>
    </tr>
    <tr>
      <th scope="row">
        <label for="amount">후원금</label>
      </th>
      <td>
        <input type="number" inputmode="numeric" value="1000"
               id="amount"
               onfocus="this.select()">원
      </td>
    </tr>
    </tbody>
</table>
html {
  font-size: 24px;
}

input {
  font-size: inherit;
}

input[type=number] {
  text-align: right;
  width: 5em;
  font-family: menlo, monospace;
}

.form-table th {
  text-align: right;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.