How do you add an add image as drop down arrow?

后端 未结 3 859
温柔的废话
温柔的废话 2021-02-10 07:37

I created a application with a drop down arrow, but the size of the arrow is too small.

So I decided to enlarge the size of the arrow. I need to add an image instead of

3条回答
  •  迷失自我
    2021-02-10 07:42

    Try this

    select.dropdownPager
    {
    background: url(images/combo.png) no-repeat right;
    width: 60px;
    font-family: Arial;
    font-size: 12px;
    outline: none;
    height: 23px;
    border: none;
    background-color: #fff;
    display: block;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border-bottom: #ccc 1px solid;
    border-left: #ccc 1px solid;
    border-top: #ccc 1px solid;
    border-right: #ccc 1px solid;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
       }
    

提交回复
热议问题