Reason:
By default, Safari Mobile does isn't use the:active state unless there is a
Touchstart event handler on the relevant element or on the <body>.
Workaround:
Add Ontouchstart empty method on 1.body label (the first element of the page works)
<body ontouchstart= "" ></body>
2.document or body add Touchstart empty event (the first element of the page works)
function () {},false); // or function () {})
/* Add the following CSS mates */html { -webkit-tap-highlight-color:rgba (0,0,0,0);}
3. Single A element adds Ontouchstart empty event
<a ontouchstart= "" >click me</a>
4. All a elements add touchstart empty events
var a=document.getelementsbytagname (' a '); for (var i=0;i<a.length;i++) { a[i].addeventlistener (' Touchstart ',function() {}, false );}
Reference: Https://stackoverflow.com/questions/3885018/active-pseudo-class-doesnt-work-in-mobile-safari
http://blog.csdn.net/freshlover/article/details/43735273
A:active Invalid workaround on iOS