Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJaco Kotzee
Courses Plus Student 20,157 PointsI've noticed that this tooltip does not work for mobile devices. Any work-around?
How can this technique be used so that it could also work on mobile devices. (You can obviously not hover on n mobile device.) Any ideas or best practices I can use for this?
1 Answer
mkmk
15,897 PointsThe :focus property (placed after :hover) allows users to touch the links for a tooltip, since hover does not work on mobile.
Tested on Android Chrome, Firefox and Ghostery and it worked.