我想在我的输入字段聚焦时有一个 1px 的边框,但没有模糊效果。
我用 outline-color..
添加了边框,但是如何删除模糊效果?
边框半径:0px;和 box-shaddow:0px;
不能解决问题。
谢谢
最佳答案
好的,马蒂亚斯 M,
试试这个;
<!DOCTYPE html>
<html>
<body>
<input type="text" class="a">
<style>
.a:focus
{
border:1px solid blue;
}
</style>
</body>
</html>
关于html - 输入 :focus outline, 但没有模糊效果,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25442876/