How to use this square cursor in a HTML input field?

后端 未结 6 956
南旧
南旧 2020-11-29 05:13

How can I use this square cursor ( image below ) in the input tags ?

\"C:\\WIKIPEDIA\"

6条回答
  •  孤独总比滥情好
    2020-11-29 05:56

    For tags, there's not much you can do. If you didn't mind it being a horrible hack, you could always use JavaScript to resize the text box as needed (set width = *something* * count), and have an with the cursor to the right.

    I don't think there are any less 'ugh' solutions, bar handling the text input yourself, which is probably overkill.

提交回复
热议问题