E
E
Evgeny19982021-11-09 08:40:20
css
Evgeny1998, 2021-11-09 08:40:20

React Select how to change hover styles?

I have a library for react React-Select . When you hover over the select, it is tinted with gray i.e. hover is gray, how can i put blue on hover?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Romankov, 2021-11-18
@Evgeny1998

There is the following structure:

<div class="basic-single css-b62m3t-container">
  <div class="select__control css-1s2u09g-control">
   // ......
  </div>
</div>

You need to add a border-color to the inner block on hover.
.select__control:hover {
    border-color: blue;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question