Change the Select arrow style

Source: Internet
Author: User

Links: 52549787

To change the Select Arrowhead Style:

1, remove the arrows;

2, set the picture as the background;

3. Change the size and position of the image to replace the original arrow

Select{/*Chrome and Firefox have different borders, so it's a bit of a carbon copy.*/Border:Solid 1px #000;/*key: Clears the default Select selection box style*/appearance:None;-moz-appearance:None;-webkit-appearance:None;/*Displays the small arrow picture in the middle right of the selection box*/background:URL ("images/right-select.png") no-repeat scroll right 0.03rem transparent;background-size:0.13rem 0.26rem;/*leave a little bit of space for the drop-down arrows to avoid being overwritten by text*/Padding-right:0.14rem; }

Change the Select arrow style

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.