On May 30, 2012, at 8:19 AM, Christian Ziebarth wrote: > I recently worked on a project where for the iPad I altered the > -webkit-tap-highlight-color value to a value that would match the color > scheme of the site (http://www.brianleatart.com). I then told the project > manager what I did thinking she would think it was neat and leave it at that > but she followed up with, "That's great! Now can you also change the font > color when the link is tapped?" After extensive searching I have been unable > to find out how to do so. Any ideas?
I don't think you can do that. That tap-indicator is a semi-translucent overlay that covers the clickable element. it is a good idea to specify a color with alpha (as in rgba() or hsla() ), unlike what you did (use an opaque color); in your case webkit makes the color slightly translucent, but not really enough to keep the text readable. Spec: http://developer.apple.com/library/safari/#documentation/AppleApplications/Reference/SafariCSSRef/Articles/StandardCSSProperties.html#//apple_ref/doc/uid/TP30001266-UserInterface Philippe -- Philippe Wittenbergh http://l-c-n.com/ ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
