为了账号安全,请及时绑定邮箱和手机立即绑定

鼠标点击search有个淡蓝色的边框 该怎么去掉

鼠标点击search有个淡蓝色的边框 该怎么去掉

星怨 2017-09-12 21:17:46
<!DOCTYPE html><head> <meta charset="UTF-8"> <title>header_search</title> <style type="text/css"> *{ margin:0; padding:0; text-decoration: none; list-style: none; } .head{ width:100%; height:100px; background: #000; font-size: 16px; line-height: 100px; color:white; } .head span{ font-size: 45px; margin-left: 20px; float: left; } .head ul{ float:left; font-weight: bold; } .head ul li{ float: left; width: 100px; text-align: center } .head ul a{ color:white; display: block; transition: 0.3s; } .head ul a:hover{ background-color: white; color:black; } .head input{ background: #333; border:none; width: 200px; height: 30px; border-radius: 15px; color:white; font-size: 18px; } .head input:active{ border:none } </style></head><body> <div class="head"> <span>ZEALER</span> <ul> <li><a href="#">MEDIA</a></li> <li><a href="#">X</a></li> <li><a href="#">S</a></li> <li><a href="#">LAB</a></li> </ul> <input type="text"> </div></body></html>
查看完整描述

1 回答

?
橋本奈奈未

TA贡献436条经验 获得超108个赞

css属性outline设置为none

查看完整回答
2 反对 回复 2017-09-12
  • 1 回答
  • 0 关注
  • 1546 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信