Remove the blue when a tag is clicked on the mobile side
-webkit-tap-highlight-
color
: rgba(
255
,
255
,
255
,
0
);
-webkit-user-select:
none
;
-moz-user-focus:
none
;
-moz-user-select:
none
;
Second, when using the image as a tag click button, when the trigger Touchstart, often there will be a gray background
a,a:hover,a:active,a:visited,a:link,a:focus{
-webkit-tap-highlight-
color
:rgba(
0
,
0
,
0
,
0
);
-webkit-tap-highlight-
color
:
transparent
;
outline
:
none
;
background
:
none
;
text-decoration
:
none
;
}
Third, change the background color of the selection
::selection {
background
:
#FFF
;
color
:
#333
;
}
::-moz-selection {
background
:
#FFF
;
color
:
#333
;
}
::-webkit-selection {
background
:
#FFF
;
color
:
#333
;
}
Iv. Remove the gray background of the iOS input box when clicked
-webkit-tap-highlight-
color
:rgba(
0
,
0
,
0
,
0);
Cancels the background color of a tag when clicked on a mobile side