0

Purpose Of -WebKit-

I've seen how it is used and where it is used but I'm still not quite sure why it is used, can someone go into detail telling me what this property does, using your own words, and not sending onto a link to read! I would really appreciate it!

10th Oct 2018, 8:48 PM
Johnny Meyer
Johnny Meyer - avatar
4 Answers
+ 1
Being able to read the content of links is important for growth as a developer. Being able to provide some specific examples of the kinds of links you've read through (i.e. include them in your post) and articulate why these have not proven to be sufficient explanations is more helpful for those who might be interested in finding better ways of explaining (regardless of whether it's directly or through a better link). Otherwise, it just comes off as lazy, even if you might not be lazy. 😉 Otherwise, we might be expending extra effort just to achieve the same dissatisfying end, and then nobody feels good about this situation. -webkit- is a vendor prefix. Browsers use different browser engines to read files and generate output. Webkit is used by Safari and Chrome. Firefox uses gecko (-moz-). Etc. Supposedly when a browser engine is testing special features, they attach a vendor prefix. However, some features have been accepted into the mainstream (w3c) standard for some time now, yet the prefix persists.
11th Oct 2018, 2:33 AM
Janning⭐
Janning⭐ - avatar
+ 1
No worries. 🙂 I guess that would depend on what the code looks like. The :hover pseudo-class itself should work fine without adding the webkit vendor prefix. Some special things require it (e.g. if you wanted to customize the scrollbar, then the scrollbar will retain its default appearance in each browser. If you added the webkit prefix, then the scrollbar will retain its default appearance in each browser except the webkit browsers.) Each of these are one-offs, so I would recommend looking up each set of properties as each user case comes up, rather than memorizing all use cases.
11th Oct 2018, 3:14 AM
Janning⭐
Janning⭐ - avatar
0
Janning⭐ I apologize for giving you the impression of me being lazy, just I asked a question once stating I need help with something for a topic I can’t remember, anyways he sent me a link to where I was getting that confusion from, which I didnt want to run into this problem here, because I read up on it in one of the lessons, but I needed someone to go into more depth! Correct me if Im wrong but if I dont have a -webkit- property, then if I go on to a website I created and hover over a box that is soposed to get bogger when hovered over nothing would happen!
11th Oct 2018, 2:44 AM
Johnny Meyer
Johnny Meyer - avatar
0
bigger*, and right now Im talking about using Chrome... if I went to Access this website
11th Oct 2018, 2:46 AM
Johnny Meyer
Johnny Meyer - avatar