Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS Build a Responsive Website Adaptive Design Implementing Media Queries

-webkit-user-select:none;

I understand that with this function the user cannot select any content, but what does it means pratically to a button?

2 Answers

On mobile, the blue hover on android and grey hover on iOS is removed. I don't believe that there's any practical implications beyond that.

Whoops, that's tap-highlight-color Im talking about. Looks like I should learn to read!

I'd guess on a button it would just prevent users copying the text of the button, although I'm not sure why you'd want to do that.

Ben, I don't understant why you want to copy text on a button! :)