Run the snippet and type letters in input pin field.
I used the css property letter-spacing
in input field. It's creating additional space after each character.
However, I don't want to add space after last character. How can I achieve that?
.spc {
letter-spacing: 0.2em;
}
#ps:nth-letter(odd) {
letter-spacing: 0em;
}
PIN: <input id="ps" class="spc" type="text" name="pin" maxlength="4" size="4">