How to change the color of Md-tab when I press?

Asked

Viewed 264 times

0

I started using Angular Material recently and am using tabs. I wish I could change the color of a tab when I’m pressing, but I can’t. Someone could help me?

1 answer

0

Try this css:

md-tab-item:hover{
   background-color: red;
}

Note that this css will apply to all tabs, there goes your customization...

Browser other questions tagged

You are not signed in. Login or sign up in order to post.