📜  重新设计 html 选择 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:34.289000             🧑  作者: Mango

代码示例1
#my_selection {
    -webkit-appearance: none; 
   -moz-appearance: none;
   appearance: none;       /* remove default arrow */
   background-image: url(../img/drop-down.png);  /* add custom arrow */
   background-repeat: no-repeat;
   background-position:right center;
}