Created
February 1, 2012 20:49
-
-
Save LeaVerou/1719220 to your computer and use it in GitHub Desktop.
Regain default button styling by CSS overrides. Possible?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Regain default button styling by CSS overrides. Possible? | |
*/ | |
button { | |
background: red; /* we can't remove this */ | |
background: initial; /* failed */ | |
background: none; /* failed */ | |
/* anything else? */ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<button>Can I haz default style?</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"split","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment