Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Disable animation on hover over inactive tab

  • 2 cavab
  • 2 have this problem
  • 4 views
  • Last reply by LiamM

more options

When I hover the mouse over an inactive tab, there is a distracting animation. I want to disable this. I am familiar with userChrome.css. I just need to know what to add to it or if there is another way. I have tried various about:config changes and none have worked.

When I hover the mouse over an inactive tab, there is a distracting animation. I want to disable this. I am familiar with userChrome.css. I just need to know what to add to it or if there is another way. I have tried various about:config changes and none have worked.

Chosen solution

Do you mean the gray "tab line" along the top of the tab which appears and expands outwards when you hover? Try:

.tabbrowser-tab .tab-line:not([selected="true"]),
.tabbrowser-tab:hover .tab-line:not([selected="true"]){
  background-color: transparent !important;
}

Depending on your theme, there may be a more "specific" rule you need to override.

Read this answer in context 👍 1

All Replies (2)

more options

Seçilmiş Həll

Do you mean the gray "tab line" along the top of the tab which appears and expands outwards when you hover? Try:

.tabbrowser-tab .tab-line:not([selected="true"]),
.tabbrowser-tab:hover .tab-line:not([selected="true"]){
  background-color: transparent !important;
}

Depending on your theme, there may be a more "specific" rule you need to override.

more options

Yes, that solves it. Thanks very much!