设置css样式背景色透明 字体颜色的不透明 设置select 箭头样式


background:rgba(4, 18, 50, 0.55) none repeat scroll !important; /*实现FF背景透明,文字不透明*/
background:#041232; filter:Alpha(opacity=55);/*实现IE背景透明*/


先隐藏箭头,然后给箭头部分添加一个背景色,下拉块的背景色为#04173b
-webkit-appearance:  none;
-moz-appearance: none;
appearance: none;
background: #04173b url("../images/select.png") no-repeat;
width: 102px;
height: 31px;

select::-ms-expand { display: none;} 隐藏箭头
 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM