What is -webkit- for? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 16

What is -webkit- for?

i see css animation... Some animation use -webkit-animation-.... some animation not... what is the use?

7th Aug 2018, 8:35 AM
Jingga Sona
Jingga Sona - avatar
18 Answers
+ 16
It is vendor prefix. Means newer versions of css or some newer property may not work in browser as they are newly release and browser has to update to support it. So there are vendor prefix for different browser , which can be used so they can be used in browser even if they support it or not. Hope this helps ☺️☺️.
7th Aug 2018, 8:41 AM
Meet Mehta
Meet Mehta - avatar
+ 15
-mozkik- is a the vendor prefix for Mozilla Firefox -ms- is the vendor prefix for Internet Explorer -webkit- is the vendor prefix for Chrome and Safari These above prefixes are what enable your CSS to display as expected on various browsers
7th Aug 2018, 8:49 AM
Dlite
Dlite - avatar
+ 11
Good to see the usage details is covered I ll just add what is this webkit, moz, ms well they are the Cross platform web browser engines responsible for rendering . when we do css we see beautiful graphics, but a lot of heavy lifting is done behind the scenes for each css we use, these webkit (c++ codes) do that heavy lifting. and thousands of lines of C++, is called for those few lines of css codes by the browser. and that webkit c++ code always gets updated and new features are added by developers , so some times to access those new features we use these prefixes in our css
8th Aug 2018, 8:52 AM
Morpheus
Morpheus - avatar
+ 8
I want only precise that common prefix are: -moz- for mozilla -o- for opera -webkit- for webkit based -ms- for microsoft browsers
7th Aug 2018, 10:32 PM
KrOW
KrOW - avatar
+ 7
google chrome
8th Aug 2018, 7:20 AM
Programmer Gaurav
Programmer Gaurav - avatar
+ 6
Happy that helped☺️☺️.
7th Aug 2018, 8:44 AM
Meet Mehta
Meet Mehta - avatar
+ 5
Thanks Morpheus KrOW !👍😂
8th Aug 2018, 9:03 AM
Jingga Sona
Jingga Sona - avatar
+ 4
Meet Mehta it helped me sooo much! Thanks for the information!!!
7th Aug 2018, 8:42 AM
Jingga Sona
Jingga Sona - avatar
+ 4
Yahiko thanks for giving me the info about each browser!😁😁😁
7th Aug 2018, 8:52 AM
Jingga Sona
Jingga Sona - avatar
+ 3
Pari Gupta Chrome and Safari use -webkit-
8th Aug 2018, 8:08 AM
Dlite
Dlite - avatar
+ 3
👍👍👍👍
8th Aug 2018, 9:05 AM
KrOW
KrOW - avatar
+ 3
Apple is a special snowflake. They always think they are something special because they remove something or make it hard to use and call it brave.
8th Aug 2018, 9:13 AM
N00B
+ 3
i dont know about that
8th Aug 2018, 12:09 PM
Karthik Reddy
Karthik Reddy - avatar
+ 3
Webkit is a web browser rendering engine used by Safari and Chrome (among others, but these are the popular ones). The -webkit prefix on CSS selectors are properties that only this engine is intended to process, very similar to -moz properties. Many of us are hoping this goes away, for example -webkit-border-radius will be replaced by the standard border-radius and you won't need multiple rules for the same thing for multiple browsers. This is really the result of "pre-specification" features that are intended to not interfere with the standard version when it comes about.
9th Aug 2018, 6:03 AM
Manish Kumar
Manish Kumar - avatar
+ 2
if you want to add some properties only for google chrome, then you have to use this.
9th Aug 2018, 4:02 AM
Kandas Sawami
Kandas Sawami - avatar
+ 1
it is used for chrome
9th Aug 2018, 12:19 PM
keev23i
keev23i - avatar
0
DataBricks is an organization and big data processing platform founded by the creators of Apache Spark. collaborative robot. A collaborative robot, also known as a cobot, is a robot that is capable of learning multiple tasks so it can assist human beings. CSS stands for Cascading Style Sheets. CSS describes how HTML elements are to be displayed on screen, paper, or in other media. CSS saves a lot of work. It can control the layout of multiple web pages all at once. External stylesheets are stored in CSS files.
10th Aug 2018, 10:11 AM
deepak sharma
deepak sharma - avatar