【问题标题】:Select2 box Dropdown Down Arrow UI issueSelect2框下拉箭头UI问题
【发布时间】:2017-12-05 04:38:24
【问题描述】:

我正在使用 select2 框库作为下拉菜单。

问题:

我在 select Tag 中设置了多个属性,我想像这样在下拉菜单中设置 chevron-up 和 chevron-down 箭头。

【问题讨论】:

    标签: select drop-down-menu jquery-select2


    【解决方案1】:

    我知道它发布后很长时间,但也许将来有人会寻找它

    我刚刚为多个 select2 元素添加了一条规则:

    .select2-selection--multiple:after{
     content:"";
     position:absolute;
     right:10px;
     top:15px;
     width:0;
     height:0;
     border-left: 5px solid transparent;
     border-right: 5px solid transparent;
     border-top: 5px solid #888;
    }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-05-04
      • 2018-03-03
      • 2015-06-30
      • 2017-08-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-10-03
      相关资源
      最近更新 更多