css make all letters uppercase code example
Example 1: conveert text to uppercase in input field
<input type="text" class="normal"
name="Name" size="20" maxlength="20"
style="text-transform:uppercase" />
Example 2: css all uppercase to capitalize
.link {
text-transform: lowercase;
}
.link::first-line {
text-transform: capitalize;
}
Example 3: input uppercase with css
<input oninput="let p = this.selectionStart; this.value = this.value.toUpperCase();this.setSelectionRange(p, p);" />