隐藏select边框及下拉箭头方法
来源:互联网 发布:淘宝买东西保修咋办 编辑:程序博客网 时间:2024/06/06 13:14
CSS样式:
.width5 { width: 50px; } .width6 { width: 60px; } .width7 { width: 70px; } .width8 { width: 80px; } .width9 { width: 90px; } /*套在Select外层,用于隐藏Select框*/.DivSelect{ float:left; position: relative; background-color: transparent; height: 17px; overflow: hidden; /*隐藏了小三角,宽度为比select宽度少20px*/ border-width:0px; border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none;}/*设置Select样式*/.SelectList{ position: relative; background-color: transparent; TOP: -2px; left:-2px; border-width: 0px; border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none; display:block; height: 20px; overflow:hidden;}
前台代码:
<div class="DivSelect width5"> <select class="SelectList width7"> <option>双铜纸</option> <option>双胶纸</option> </select> </div>
1 0
- 隐藏select边框及下拉箭头方法
- css美化select下拉列表(更换下拉箭头)的方法
- select自定义下拉箭头
- 下拉菜单隐藏箭头
- 无下拉箭头的Select
- 隐藏 select 边框和三角
- select下拉箭头样式改变问题
- 修改select右侧的下拉箭头样式
- css清除select默认下拉箭头
- 无下拉箭头的SELECT下拉选框
- 巧用css美化select下拉列表 更换下拉箭头
- select下拉框设置边框样式
- 隐藏<textarea>边框的方法
- 清除Css中select的下拉箭头样式
- 如何去除ie的select下拉框箭头图标
- CSS怎么去掉select的下拉箭头样式(转)
- select默认下拉箭头改变、option样式清除
- html表单 select多选下拉箭头的问题
- 自定义快捷命令程序(VC++加批处理)
- 第三方登录 java Google
- Same Tree
- IIS7.0应用程序池集成和经典的区别
- 设计模式
- 隐藏select边框及下拉箭头方法
- 不缺钱的钱荒背后究竟说明了啥?
- 第二题
- 转载和积累系列 - 微信、陌陌 架构方案分析
- 面试官:一个能一网打尽的技术问题
- Activity和Fragment通信------发送广播Broadcast
- DEF
- Lua学习笔记 第一章 开始
- Hibernate删除数据