【发布时间】:2017-08-08 17:19:45
【问题描述】:
我已修改输入字段以使用 select2。我一生无法弄清楚如何删除顶部的线。底线是我通过 css 分别应用到 notes 输入元素的边框底部。
有谁知道什么 CSS 属性与其相关联,或者这是否可能?
在开发者工具中选择这个元素时,我得到了以下 css 属性。
select2.css:388
.select2-container-multi .select2-choices .select2-search-field input {
color: #666;
/* background: 0 0!important; */
font-family: sans-serif;
/* font-size: 100%; */
height: 15px;
padding: 5px;
margin: 1px 0;
outline: 0;
border: 0 !important;
-webkit-box-shadow: none !important;
-moz-box-shadow: none;
-o-box-shadow: none;
/* box-shadow: none; */
感谢您的帮助。
【问题讨论】:
标签: css select2 jquery-select2-4