-WebKit tap highlight color processing elements click the default highlight

Overview:

– WebKit tap highlight color is an unsupported WebKit property, which does not appear in the draft CSS specification

When the user clicks the link in Safari browser of IOS or the clickable element of JavaScript, the highlight color will be covered

This property can only set transparency. If transparency is not set, IOS Safari uses the default transparency. When transparency is set to 0, this property will be disabled; When the transparency is set to 1, the element is not visible when you click

Grammar:

-webkit-tap-highlight-color:color

default value : inherit

applies to : link elements such as new window opening, IMG elements such as image saving, etc

Value:

Color : color value

transparent : transparent value

*CSS3 new properties may have description errors and changes, for reference only, continuous update

Compatibility:

Safari browser available on IOS 1.1.1 and later

most Android phones also support it, but the display effect is different

Similar Posts: