-webkit-tap-highlight-color property

Specifies the highlight color when a user taps a link.

Syntax

-webkit-tap-highlight-color: <color>

Property values

color

A supported color value.

CSS information

Applies ToAll elements
Mediavisual
Inheritedno
Initial Valuenone

Examples

The example below uses -webkit-tap-highlight-color to change the color of a specific class when a user taps it.


.blue {
   -webkit-tap-highlight-color: rgba(30,117,187, 1)
}

See also

CSSStyleDeclaration

 

 

Show: