gpt4 book ai didi

html - 按下时摆脱按钮周围的蓝色框

转载 作者:太空宇宙 更新时间:2023-11-03 21:43:54 25 4
gpt4 key购买 nike

所以,每当我点击我的按钮时,就会发生这种情况:

enter image description here

有什么办法可以避免这种情况吗?

谢谢大家。 :)

最佳答案

已经回答(可能多次,但这里有一个例子):https://stackoverflow.com/a/3397158/839847

为方便起见,在此引用:

This border is used to show that the element is focused (i.e. you can type in the input or press the button with Enter). You can remove it, though:

textarea:focus, input:focus{
outline: 0;
}

You may want to add some other way for users to know what element has keyboard focus though for usability.

Chrome will also apply highlighting to other elements such as DIV's used as modals. To prevent the highlight on those and all other elements as well, you can do:

*:focus {
outline: 0;
}

关于html - 按下时摆脱按钮周围的蓝色框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21719306/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com