Capitalise text inputs with css
When I was build the sign-up screen for toepoke.co.uk I wanted to tidy up the data entry for the player’s name so you get capitalised names.
My first thought was to tie into the jQuery focus event and do a little JavaScript once the user left the input field. Thankfully I thought a little bit more and remembered the text-transform property in CSS, and wondered if this would work against text input fields as well as heading and p tags, etc. .tcase { ...
No comments yet, be the first one to post comment.