all text in caps using css

45

.link {
  text-transform: lowercase;
 
}

.link::first-line {
  text-transform: capitalize;
}
<input oninput="let p = this.selectionStart; this.value = this.value.toUpperCase();this.setSelectionRange(p, p);" />

Comments

Submit
0 Comments