Created
May 14, 2014 13:47
-
-
Save obenjiro/6ed713bd6992c4cd335f to your computer and use it in GitHub Desktop.
Prevent modern browsers from displaying `audio` without controls.
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
/** | |
* Prevent modern browsers from displaying `audio` without controls. | |
* Remove excess height in iOS 5 devices. | |
*/ | |
audio:not([controls]) { display: none; height: 0; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment