扫码关注官方订阅号
如下图所示,在focusOut事件发生后,曾经被选中的部分会添加一个灰色的底色,请问如何去掉或修改这个底色呢?让用户看不到这样的颜色?
多谢~
学习是最好的投资!
用::selection可设置color、background、cursor 以及 outline。
::selection{ color: #xxx; background-color: #xxx; }
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
用::selection
可设置
color、background、cursor 以及 outline。