html - Change 'select' highlight color -


this question has answer here:

i have customized drop down menu box (see picture) want change highlight color on options rid of horrible blue , change color of choice, stop blue highlight box around whole thing , remove border options box. how go removing or of these?

thanks

htmlcode: <div class="contactselect"><select id="contactdropdown"> <option value="email">email form</option> <option value="website">website form</option> <option value="creation">creation form</option></select> </div>  csscode: .contactselect select{    background: url(images/arrowo.png) no-repeat right #000;    width:268px;    padding:5px;    color:#f7921c;    font-size:25px;    font-family:dumbledor;    line-height:1;    border:solid 4px #f7921c;    border-radius:10px;    height:45px;    -webkit-appearance:none; } 

example

well cannot change hover color of select option rendered operating system instead of html second answer removing blue outline under:

add outline:none css:

.contactselect select {    background: url(images/arrowo.png) no-repeat right #000;    width:268px;    padding:5px;    color:#f7921c;    font-size:25px;    font-family:dumbledor;    line-height:1;    border:solid 4px #f7921c;    border-radius:10px;    height:45px;    -webkit-appearance:none;     outline: none; } 

here js fiddle demo .


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -