Disable orange highlight on a div in WebView
div{
-webkit-appearance:none;
}
IBM Worklight 6.1 - Disable orange outline highlight on focus is not working
This is the working code. Tested in devices[Samsung S Duos, Sony Xperia M & Samsung Tab II] with IBM worklight 6.0 & IBM Worklight 6.1.
textarea:focus, input:focus, input,textarea{
-webkit-tap-highlight-color: rgba(0,0,0,0) !important;
-webkit-tap-highlight-color: transparent;
-webkit-user-modify: read-write-plaintext-only;
border: none !important;
margin: none !important;
}
Disabling orange focus outline around Bootstrap buttons in Electron
Target the HTML button
element with class glyphicon-button
when focussed like so:
button.glyphicon-button:focus,
button.glyphicon-button:active:focus,
button.glyphicon-button.active:focus,
button.glyphicon-button.focus,
button.glyphicon-button:active.focus,
button.glyphicon-button.active.focus {
outline: none !important;
}
Be aware that removing the outline property has consquences on accessibility.
Disable orange highlight on a div in WebView
div{
-webkit-appearance:none;
}
remove orange outline from focused element in samsung galaxy s2
CSS:
.borderImage {
-webkit-tap-highlight-color:rgba(0,0,0,0);
}
HTML:
<div class="borderImage">
<a href="#">Some text</a>
</div>
Found here ;) : -webkit-tap-highlight-color: rgba(0,0,0,0); on a div?
Edit (nice to know):
/* No background, just iOS:*/
-webkit-tap-highlight-color: transparent;
/* No background iOS + Android: */
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
Related Topics
How to Create Custom UI for Android Mediacontroller
How to Animate a View with Translate Animation in Android
How to Move the Layout Up When the Soft Keyboard Is Shown Android
How to Access Fragment's Child Views Inside Fragment's Parent Activity
Differencebetween Activity and Context
"Failure Delivering Result " - Onactivityforresult
Controlling the Camera to Take Pictures in Portrait Doesn't Rotate the Final Images
Android, How to Not Destroy the Activity When I Rotate the Device
Swiperefreshlayout Setrefreshing() Not Showing Indicator Initially
Preferenceactivity Android 4.0 and Earlier
The Import Android.Support.V7 Cannot Be Resolved
How to Change the Size of a Switch Widget
Adb Is Not Recognized as Internal or External Command on Windows
How to Loop Through Dynamic JSON String Recursively in Android