Reputation: 1215
Does anyone know how to make a cursor blink in the textarea even before you click on it?
Like https://medium.com/p/new-post
Upvotes: 0
Views: 5835
Reputation: 172
I would suggest that you download a blinking gif then put it as backround of your text area to make it blink. Then when you type it will go away.
Add bootstrap form like this to clone the same display: jsfiddle
<textarea class="form-control" placeholder="Tell your story.." rows="3" autofocus></textarea>
Bootstrap forms: bootstrapform
Upvotes: -1
Reputation: 3089
Probably the styling is set to show no cursor. And try below examples:
Upvotes: -1
Reputation: 415
You can use autofocus
to accomplish this, check out w3schools for basic information on it.
<input type="text" name="fname" autofocus>
Upvotes: 3