Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Tab close button on the left in Firefox Quantum
@namespace url("");
.tabbrowser-tab .tab-throbber,
.tabbrowser-tab .tab-icon-image,
.tabbrowser-tab .tab-sharing-icon-overlay,
.tabbrowser-tab .tab-icon-overlay,
.tabbrowser-tab .tab-label-container,
.tabbrowser-tab .tab-icon-sound {
-moz-box-ordinal-group: 2 !important;
.tabbrowser-tab .tab-close-button {
margin-left: -2px !important;
margin-right: 4px !important;
.tabbrowser-tab:not([pinned="true"]):hover .tab-close-button {
display: -moz-box !important;
.tabbrowser-tab:not([pinned="true"]):hover .tab-icon-image {
display: none;
.tab-close-button {
display: none;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.