如何使用css在searchbar中调整插入符号(闪烁光标)的大小 [英] How to adjust the Caret (blinking cursor) size inside searchbar with css

查看:339
本文介绍了如何使用css在searchbar中调整插入符号(闪烁光标)的大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图谷歌它,并惊讶地发现没有结果相关...
我不知道如何使用css调整闪烁光标在搜索框内的CSS?
我调整搜索框的大小,但似乎闪烁的光标的大小仍然是原始小的文本大小。

解决方案

目前没有办法为插入符设置样式,但是如果使用另一个DOM元素显示输入控件值,则可以。请查看


I tried to google it, and surprisingly found no result related... I wonder how can I use css to adjust the blinking cursor inside the search box with CSS? I adjusted the size of the search box, but seem the blinking cursor's size is still original small text size.

解决方案

There is no way to styling the caret currently, but if you use another DOM element to display the input control value then you can. Take a look at How to use this square cursor in a HTML input field?

这篇关于如何使用css在searchbar中调整插入符号(闪烁光标)的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆