How to handle "audio:not([controls])" in garden #41

Closed
erwagasore opened this Issue Mar 6, 2014 · 3 comments

Comments

Projects
None yet
2 participants
@erwagasore
/*
 * Prevents modern browsers from displaying 'audio' without controls
 * Remove excess height in iOS5 devices
 */

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

@noprompt noprompt added the question label Mar 7, 2014

@noprompt

This comment has been minimized.

Show comment Hide comment
@noprompt

noprompt Mar 7, 2014

Owner

The answer is actually in your question "audio:not([controls])". 😄

Owner

noprompt commented Mar 7, 2014

The answer is actually in your question "audio:not([controls])". 😄

@noprompt noprompt added the answered label Mar 7, 2014

@erwagasore

This comment has been minimized.

Show comment Hide comment
@erwagasore

erwagasore Mar 7, 2014

Got it :) Then input[type="button"] would become "input[type='button'] ?

Got it :) Then input[type="button"] would become "input[type='button'] ?

@erwagasore erwagasore closed this Mar 7, 2014

@noprompt

This comment has been minimized.

Show comment Hide comment
@noprompt

noprompt Mar 7, 2014

Owner

Yep! I'm working on some major improvements for 2.0.0 that will remove that sort of nonsense but it'll be a few weeks.

Owner

noprompt commented Mar 7, 2014

Yep! I'm working on some major improvements for 2.0.0 that will remove that sort of nonsense but it'll be a few weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment