Skip to content

Instantly share code, notes, and snippets.

@iamstarkov
Last active February 14, 2017 12:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save iamstarkov/ffae3de4090143fbf112f2d33dfff094 to your computer and use it in GitHub Desktop.
Save iamstarkov/ffae3de4090143fbf112f2d33dfff094 to your computer and use it in GitHub Desktop.
broken inlined button, FF
/* broken inlined button, FF */
.btn {
all: initial;
background: red;
}
/* fix for 140562 https://bugzilla.mozilla.org/show_bug.cgi?id=140562 */
.btn::-moz-focus-inner { all: initial; }
.btn.ib { display: inline-block; }
<a class="btn">Button</a>
<button class="btn">Button</button>
<button class="btn ib">Button</button>
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment