Personalized customization method for typewriter input
P粉032977207
P粉032977207 2023-08-09 15:19:14
0
1
437

I want to hide the typewriter cursor (this blinking | mark) in the input box, is there a way to do it using CSS?

input { Some CSS properties to hide the typewriter cursor }
P粉032977207
P粉032977207

reply all (1)
P粉066224086

You can achieve this by using. Just be sure to adjust the input field's other style properties as needed to ensure it looks the way you expect without a visible cursor.

input { caret-color: transparent; /* 隐藏闪烁的光标 */ }
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!