html - If the label text itself in the uppercase how to change a label text to the capitalize? -


if label text in uppercase how change label text capitalize.

i tried this.

<p class="capitalize">this text.</p> 

i have added

p.capitalize { text-transform: capitalize; } 

i getting value text instead of text. there many ways of doing javascript want achieve css.

fiddle

thanks in advance.

there no way this.

css text-transform capitalize on caps

as per link, need use either javascript or server side language php


Comments