Answers for "css select option background color"

CSS
1

css selected color

::selection {
    background-color: #222;
    color: white;
}
Posted by: Guest on May-06-2020
0

select2 option background-color

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: yellowgreen;
    color: white;
}
Posted by: Guest on May-03-2021

Code answers related to "css select option background color"

Browse Popular Code Answers by Language