Re: [css-d] hover and active pseudo classes on touch screen
Well yes, it kinda does, on some devices ;) I ended up doing this to get the effect that was most like I wanted: http://css-tricks.com/snippets/css/remove-gray-highlight-when-tapping-links-in-mobile-safari/ Not that I want to clutter things up with javascript, but I did this time. Thanks for pointing me in the right direction! On Wed, Feb 27, 2013 at 6:37 PM, Tom Livingston wrote: > On Wed, Feb 27, 2013 at 12:51 PM, Laura Valentino > wrote: > > > Touch screens seem to ignore my a:active color and just use some random > > color, and the a:hover color (which I expected to do nothing on a touch > > screen) becomes something like "selected link" color (stays highlighted) > - > > which is actually kinda cool, if unexpected. > > > > Is this a known thing? Google isn't helping me! > > > > Laura > > > > > There are things like: > > a:link { > -webkit-tap-highlight-color: rgb(52,158,219); } > > which, I assume (uh-oh) that will allow you to customize that 'random' > color... > > > > -- > > Tom Livingston | Senior Interactive Developer | Media Logic | > ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com > __ > css-discuss [css-d@lists.css-discuss.org] > 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/ > > __ css-discuss [css-d@lists.css-discuss.org] 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/
Re: [css-d] hover and active pseudo classes on touch screen
On Wed, Feb 27, 2013 at 12:51 PM, Laura Valentino wrote: > Touch screens seem to ignore my a:active color and just use some random > color, and the a:hover color (which I expected to do nothing on a touch > screen) becomes something like "selected link" color (stays highlighted) - > which is actually kinda cool, if unexpected. > > Is this a known thing? Google isn't helping me! > > Laura > There are things like: a:link { -webkit-tap-highlight-color: rgb(52,158,219); } which, I assume (uh-oh) that will allow you to customize that 'random' color... -- Tom Livingston | Senior Interactive Developer | Media Logic | ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com __ css-discuss [css-d@lists.css-discuss.org] 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/
[css-d] hover and active pseudo classes on touch screen
Touch screens seem to ignore my a:active color and just use some random color, and the a:hover color (which I expected to do nothing on a touch screen) becomes something like "selected link" color (stays highlighted) - which is actually kinda cool, if unexpected. Is this a known thing? Google isn't helping me! Laura __ css-discuss [css-d@lists.css-discuss.org] 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/