input:focus {
outline: none; /* 隐藏默认的聚焦边框 */
}
input::-webkit-input-placeholder {
color: transparent; /* 隐藏光标 */
}
Regarding the flashing vertical bar that appears after the Vue selection box gets focus, this is usually caused by the browser's default text box cursor style. This can be solved with the following CSS code:
Guess you like
Origin blog.csdn.net/weixin_60196946/article/details/130554654
Ranking