The -webkit-tap-highlight-color CSS property sets the color of the highlight that appears over a link or other element when it is tapped on a touchscreen device. By default, this highlight is a semi-transparent gray color. This property can be used to customize the color of the highlight to match the design of the website or application.

Example usage:

a {
  -webkit-tap-highlight-color: #FF0000; /* set highlight color to red */
}
-webkit-tap-highlight-color

原文地址: https://www.cveoy.top/t/topic/eEH2 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录