相关疑难解决方法(0)

CSS - 使用 SELECT 标签时下拉框的边框半径?不是 SELECT 输入本身,实际的下拉框?

我正在尝试设置选择下拉框的样式。

到目前为止,我已经通过将某些样式应用于 select 标签,在下拉框本身(带有选项的下拉框)中实现了样式效果。

这是我到目前为止使用的css:

input, select {
    background: #fcfcfc;
    padding: 7px 25px;
    border: 0 none;
    font: bold 12px Arial,Helvetica,Sans-serif;
    color: #6a6f75;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.3); 
    -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2) inset;
    -moz-box-shadow: , 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 3px rgba(0, 0, 0, 0.2) inset;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 3px …
Run Code Online (Sandbox Code Playgroud)

css tags select border

8
推荐指数
1
解决办法
3万
查看次数

标签 统计

border ×1

css ×1

select ×1

tags ×1