我如何更改单击CSS时出现的文本输入下划线
每当我单击形式的文本输入时,就会出现一个绿色下划线,它并不是我当前正在处理的网站的原色。我该如何将其从绿色中更改为紫色?(>图像以供参考 https://i.sstatic.net/vebk7.jpg
Whenever I click on a text input in a form, a green underline comes up which doesnt really go along with the primary colours of the website I am currently working on. How do i change it to purple from green?( > Image for reference since I can't include images in my posts yet )
https://i.sstatic.net/vEBk7.jpg
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
活动
,focus
,hover hover
。tabs
键选择它时,它处于焦点模式,当您MOUSESOVE
时,它处于悬停模式。输入:focus
,输入:hover andinput:active
selectors and oflectors和比应用CSS。您可以使用它并在问题中应用相同的方案。active
,focus
,hover
.tabs
key it's in the focus mode and when youmouseover
it it's in the hover mode.input:focus
,input:hover
andinput:active
selectors and than apply CSS. You can play with it and apply same scenario in your question.