-webkit- | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

-webkit-

I hav seen this -webkit- many times in many codes One time I see this with the css' border-radius property, but I know that border-radius property didn't require that, I mean without "-webkit-" the border-radius property will work. Then what is the use of "-webkit-"?

13th Aug 2021, 10:25 AM
Parth
Parth - avatar
2 Answers
+ 3
-webkit- is a vendor prefix for Chrome, Safari and other webkit-based browsers. There are other prefixes for Mozilla Firefox, opera, IE, etc. The prefixes are used for experimental features and for features that are under development, meaning that the syntax may not even be final. More info here: https://developer.mozilla.org/en-US/docs/Glossary/Vendor_Prefix
13th Aug 2021, 11:31 AM
Artem 🇺🇦
Artem 🇺🇦 - avatar
+ 2
It tells only webkit based browser will have border radius applied if i am not wrong!
13th Aug 2021, 10:46 AM
Abhay
Abhay - avatar