How to use scale function in css
This article mainly shows you "how to use the scale function in css", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to use the scale function in css" this article.
1. Scale is used to modify the size of the element. Elements can be zoomed in or out by scaling values defined in vector form, and different scaling values can be set in different directions.
2. It is only suitable for the transformation on the two-dimensional plane. If you need to zoom in space, you must use scale3D.
Example
Div {transform: scale (2pr 4);-ms-transform: scale (2pr 4); / * IE 9 * /-webkit-transform: scale (2pr 4); / * Safari and Chrome * /-o-transform: scale (2pr 4); / * Opera * /-moz-transform: scale (2pr 4); / * Firefox * /} these are all the contents of the article "how to use scale functions in css". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!