简体   繁体   中英

Change select arrow color in Bulma

I'm using Bulma and was wondering if it's possible to change the color of the select input dropdown arrow? Right now as you can see it's blue. I'm not able to find anything in their documentation about this...

在此处输入图片说明

I think this should do the trick

.select:not(.is-multiple):not(.is-loading)::after {
    border-color: #3273dc;
}

Try with:

select::-ms-expand {
    border-color: /*change your color here*/
}

I hope it's helps ;)

You can change arrow color by setting up .select:after class internally

 .select.is-pink:after { border-color: pink !important; } 
 <link href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.0/css/bulma.min.css" rel="stylesheet"/> <section class="section is-paddingless-horizontal"> <div class="container"> <div class="select is-pink"> <select> <option>Select dropdown</option> <option>With options</option> </select> </div> </div> </section> 

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM