aFarkas/remote-list

Changing Selection Color

cevarief opened this issue · 1 comments

How to change hover selection and the list background color?

For native datalist this can't be done x-browser. For the polyfilled/enhanced version it is simple.

.datalist-polyfill .datalist-box ul {
    background-color: #aaa;
}
.datalist-polyfill .datalist-box .active-item {
    background-color: #a66;
}

Just curious: Do you think this needs to be documented. Because it's quite simple to look yourself by using the devtools???