For different browser kernels, for different kernels
Different browser kernels:
Suggestion: writing code as much as possible can effectively improve learning efficiency and depth.
The browser type is diverse. It is more selective and competitive for browser users. It plays a significant role in providing better features, but it is a nightmare for developers, in CSS, some attributes are written in W3C and cannot take effect in some browsers. You need to write them in a browser kernel. The following lists the methods used in various browsers:
-Webkit // Webkit kernel, such as Google and Safari-moz // Gecko kernel, such as Firefox-o // Presto kernel, such as operabrowser-ms // Trident kernel, such as IE
That is to say, you can add the prefix listed above before the corresponding attribute name.
The code example is as follows:
<! DOCTYPE html>
The above Code only has a rounded corner effect in a Webkit-based browser, but not in other kernel-based browsers.
The original address is: http://www.softwhy.com/forum.php? Mod = viewthread & tid = 3372.
For more information, see: http://www.softwhy.com/divcss/