CSS. For what is the webkit...etc. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

CSS. For what is the webkit...etc.

I was watching many codes with this in CSS ↓ ↓ ↓ ↓ -webkit-touch-callout: none -webkit-user-select: none -khtml-user-select: none -moz-user-select: none -ms-user-select Can someone tell me for what is this?? Thank you very much for your time.

8th May 2021, 11:34 AM
Neo
2 Answers
+ 4
when a code is not supported on a specific browser, you put something like: -webkit-. and now here we have a bunch of similar codes that starts with -something-. it means that this code is not supported on any browser yes, so we put different codes for different users. if you are using Chrome, the first code will work for you. if you are using mozilla firefox, the code "-moz-user-select: none" will work for you. hope I explained it well.
8th May 2021, 11:41 AM
IliaAbbasi
IliaAbbasi - avatar
+ 2
IliaAbbasi Thank you very much. I first searched this -something- on internet but I difnt found nothing. This has helped me a lot. Thanks. Really.
8th May 2021, 11:46 AM
Neo