From 8c4769ea4f5fae24834b7284938c1043c13614f0 Mon Sep 17 00:00:00 2001 From: Alex Guerrero Date: Fri, 25 Apr 2014 12:22:48 +0200 Subject: [PATCH] Remove highlight when tapping links in iOS --- normalize.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/normalize.css b/normalize.css index 08f895079..42f76d030 100644 --- a/normalize.css +++ b/normalize.css @@ -4,12 +4,14 @@ * 1. Set default font family to sans-serif. * 2. Prevent iOS text size adjust after orientation change, without disabling * user zoom. + * 3. Remove highlight when tapping links in iOS */ html { font-family: sans-serif; /* 1 */ -ms-text-size-adjust: 100%; /* 2 */ -webkit-text-size-adjust: 100%; /* 2 */ + -webkit-tap-highlight-color: rgba(0,0,0,0); /* 3 */ } /**