你最能得到的是:
select#xyz {
border:0px;
outline:0px;
}
你不能完全风格,但你可以尝试像
select#xyz {
-webkit-appearance: button;
-webkit-border-radius: 2px;
-webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
-webkit-padding-end: 20px;
-webkit-padding-start: 2px;
-webkit-user-select: none;
background-image: url(../images/select-arrow.png),
-webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
background-position: center right;
background-repeat: no-repeat;
border: 1px solid #AAA;
color: #555;
font-size: inherit;
margin: 0;
overflow: hidden;
padding-top: 2px;
padding-bottom: 2px;
text-overflow: ellipsis;
white-space: nowrap;
}
本文介绍如何使用CSS对HTML中的Select控件进行样式定制,包括外观、边框、阴影等属性,使Select控件更加美观且符合设计需求。
855

被折叠的 条评论
为什么被折叠?



