How to make white color in hover?

  1. Button Bootstrap 5.1 => Outline : Green
    When I don’t mouse over, the color of button is white and text color is green.
    When I mouse over, the color of button is green and text color is white.
    스크린샷 2022-03-01 오후 5.45.11

스크린샷 2022-03-01 오후 5.46.15

  1. Text Bootstrap 5.1 => Text color => Black selection.
    When I don’t mouse over, the color of button is white and text color is black.
    When I mouse over, the color of button is green and text color is black.

스크린샷 2022-03-01 오후 5.52.52

스크린샷 2022-03-01 오후 5.53.25

In Text Bootstrap 5.1 => Text color => Black selection,
I want that when I mouse over, the color of button is green and text color is white.

How to make the text color into white?

Thanks.

Hi @alexseo,
I could be wrong, but you can’t do this with built in classes in Bootstrap. It is opinionated about how the buttons should appear on hover. You need to use some custom CSS for this. I can help you with this, but since I don’t know the code of the button (what classes or specific attributes) or use case (just this button, all buttons?) I can’t help without more info.
Cheers,
Bob

Thank you very much for replying.

I use the following code.

Which buttons do you want to target?

Thank you very much.
I solved it.