【问题标题】:Which style rules are used for the caret in a twitter-bootstrap select?twitter-bootstrap 选择中的插入符号使用哪些样式规则?
【发布时间】:2016-08-30 16:21:14
【问题描述】:

我有一个奇怪的情况,在一些自定义之后,twitter 引导选择的插入符号没有出现。因此,我希望恢复选择的样式。这些是当前的样式:

#sidebar2 select {
  max-width: 100%;
  margin: 0px;
  border: 1px solid #ccc !important;
  outline: 0;
  display:block;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.075) !important;
  border-radius: 2px !important;
  width: 100% !important;
  height: 32px !important;
  font-weight: 500;
  -webkit-appearance: none !important;
  -webkit-transition: none !important;
  text-transform: none;
  font: inherit;
  vertical-align: top;
}

【问题讨论】:

    标签: css twitter-bootstrap twitter


    【解决方案1】:

    因为你使用-webkit-appearance: none !important,它会使插入符号消失,你可以在mozzila上试试看插入符号还在

    【讨论】:

    • 谢谢你,你不知道我花了多少时间寻找这个。
    猜你喜欢
    • 2012-05-31
    • 1970-01-01
    • 2012-10-26
    • 1970-01-01
    • 2015-01-13
    • 2015-07-11
    • 1970-01-01
    • 1970-01-01
    • 2017-04-14
    相关资源
    最近更新 更多