P粉0662240862023-08-10 11:40:11
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; /* 隐藏闪烁的光标 */ }