如何删除html中单击的按钮周围的边框? [英] How to remove border around clicked button in html?
本文介绍了如何删除html中单击的按钮周围的边框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我最近开始建立网站,并开始在其上创建按钮.但是,每当我单击按钮时,都会出现一个蓝色边框,例如此!
I have recently started building a website and have started to make buttons on it. However, whenever I click the button, I get a blue border like this !
我应该如何摆脱这个边界?预先感谢!
How should I get rid of this border? Thanks in advance!
推荐答案
将此CSS添加到您的按钮中:
Add this css to your button:
outline: none;
这篇关于如何删除html中单击的按钮周围的边框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文