Reputation: 763
I am making an PhoneGap Android app, and can't turn off the orange highlighting clickable elements.
I have tried all combinations of CSS: -webkit-tap-highlight-color, -webkit-focus-ring-color and -webkit-user-modify, as suggested in
Disable orange outline highlight on focus
Disable orange highlight around links in Android
Here is what I have, and it's not doing anything:
`* {
-webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important;
-webkit-focus-ring-color: rgba(255, 255, 255, 0) !important;
outline: none !important;
-webkit-user-modify: read-write-plaintext-only !important;
-webkit-touch-callout: none;
-webkit-user-select: none;
}`
I'm using Phonegap 2.9.0 and Android 4.1.2, and Calendario plugin from here:
http://tympanus.net/codrops/2012/11/27/calendario-a-flexible-calendar-plugin/
Is there any hope for disabling this unsightly organe thing?
Upvotes: 2
Views: 4445
Reputation: 159
Maybe you are talking about the outline set by focus
, so this should help (not tested):
div:focus, div:active {
outline: none;
}
Upvotes: 9