necolas/normalize.css — Issue #69: audio:not([controls]) still has height in IOS5
Author: sidepodcast
Created: 2012-01-12 01:34:33+00:00
State: open

the default means of hiding audio elements without controls, wasn't having the desired effect in safari mobile. forcing its height to be zero made it go away proper.

in case it's of use to someone. old code:

audio:not([controls]) { display: none; }

updated:

audio:not([controls]) { display: none; height: 0; }