Ask Your Question
4

What is the method for altering the hover color in the menu of mantine.ui?

asked 2022-01-01 11:00:00 +0000

ladyg gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-10-25 09:00:00 +0000

qstack gravatar image

To alter the hover color in the menu of Mantine UI, the CSS code for the menu item hover state needs to be modified. This can be done by adding the following CSS code to your stylesheet:

.menu-item:hover {
  background-color: <color>;
}

Replace <color> with the desired color code or value. This will set the background color of the menu item when hovered over to the specified color.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-01-01 11:00:00 +0000

Seen: 17 times

Last updated: Oct 25 '21