Twitter bootstrap 如何使用引导自定义选择框
有人能帮我用Bootstrap3自定义这样的选择下拉列表吗 我尝试了很多次,但都没有成功。 谢谢 尝试从Twitter bootstrap 如何使用引导自定义选择框,twitter-bootstrap,Twitter Bootstrap,有人能帮我用Bootstrap3自定义这样的选择下拉列表吗 我尝试了很多次,但都没有成功。 谢谢 尝试从 注意-webkit外观/-moz外观不受opera或internet explorer的支持,因此它不会在所有浏览器上产生您想要的效果。因此,基本上,您想要使用引导程序的权利吗?是的,我想删除边框半径并为箭头创建背景。 .styled-select { width: 245px; height: 34px; overflow: hidden; backgrou
注意
-webkit外观
/-moz外观
不受opera或internet explorer的支持,因此它不会在所有浏览器上产生您想要的效果。因此,基本上,您想要使用引导程序的权利吗?是的,我想删除边框半径并为箭头创建背景。
.styled-select {
width: 245px;
height: 34px;
overflow: hidden;
background:url(/*your-img-url-here*/) no-repeat right;
}
.styled-select select {
background: transparent;
width: 110%;
padding: 5px;
font-size: 16px;
line-height: 1;
border-radius: 0;
height: 34px;
-webkit-appearance: none;
-moz-appearance:none;
}