小薇学院任务十一笔记4(CSS)

2017-04-20  本文已影响0人  garble

1.By default, when the user taps a link or a JavaScript clickable element, Safari on iOS highlights the area in a transparent gray color. Using the -webkit-tap-highlight-color CSS property, you can either modify or disable this default behavior on your webpages.

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

同样的对其他浏览器也可以使用。

上一篇 下一篇

猜你喜欢

热点阅读