Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

prevent the blue highlighting on mobile

.noSelect {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.noSelect:focus {
    outline: none !important;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #prevent #blue #highlighting #mobile
ADD COMMENT
Topic
Name
6+6 =