Why do we need to summarize the browser compatibility of CSS properties? When using it, wouldn't it be better to just go to Can I Use to check the browser's compatibility with the attribute? css3.jpeg In fact, in the actual development process, we have to be clear about the compatibility of common CSS attributes in order to greatly improve our development efficiency and write code that can be gracefully degraded. This does not mean that you must memorize all the compatibility of CSS attributes. For those with low usage rates, we can directly use Can I Use to search. frame:
background: background-size: Minimum compatibility to IE9, other browsers have excellent compatibility. Font: @font-face: IE9 and above versions of IE browser support the import of font files in any format, while browsers before IE9 only support the import of font files in EOT format. Other browsers are compatible. 2D Transformation: transform: Minimum compatibility to IE9 (need to add -ms- prefix), other browsers have excellent compatibility. It is good practice to add the browser kernel prefix before the transform property. It is not recommended to use the transform attribute on svg elements, and the latest version of IE does not support this usage. 3D Transformation: IE10 and Firefox support 3D transforms. Chrome and Safari require the prefix -webkit-. Opera still doesn't support 3D transitions, it only supports 2D transitions. transition: transition: Minimum compatibility to IE10, and excellent compatibility with other browsers. The Safari browser requires the prefix -webkit-, and most other browsers do not have this prefix requirement. Therefore, except in special circumstances, you do not need to add the prefixes of other browsers. Animation: animation: compatibility is roughly the same as the transition property. The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. |
<<: Ubuntu Server 18.04.5 LTS Server Edition Installation and Configuration Graphic Tutorial
>>: W3C Tutorial (8): W3C XML Schema Activities
Preface Under the influence of some CSS interacti...
1. Understanding of transition attributes 1. The ...
Table of contents 1. Nodes, trees, and virtual DO...
Regarding uninstalling the previously installed v...
Step 1: Create a Django project Open the terminal...
1. Overall steps At the beginning, we introduced ...
background I want to check the webpack version, b...
.imgbox{ width: 1200px; height: 612px; margin-rig...
1. Command Introduction The tac (reverse order of...
Cerebro is an evolution of the Elasticsearch Kopf...
If you are using Alibaba Cloud Server, you need t...
As shown below, if it were you, how would you ach...
Preface Linux does not have a prominent Recycle B...
Copy code The code is as follows: <html> &l...
Table of contents 1. What are options? 2. What at...