如何摆脱chrome中的输入边框? [英] How can I get rid of input border in chrome?

查看:132
本文介绍了如何摆脱chrome中的输入边框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Chrome中,我的设计沿着搜索输入字段的边缘有一个边框或轮廓。如何清除这个?

In Chrome, my design has a light border or outline along the edges of the search input field. How can I get rid of this?

推荐答案

form#search input[type="search"] { 
    -webkit-appearance: none; 
}

请注意,这将禁用选择元素箭头。

Mind that this will disable the select element arrow.

这篇关于如何摆脱chrome中的输入边框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆