In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you "what are the matters needing attention in the deformation attributes in Css3", the content is simple and clear, and I hope it can help you solve your doubts. Let the editor lead you to study and learn "what are the matters needing attention in deformation attributes in Css3" this article.
Transform attribute, maximum weight CSS3 change. Let the element change its shape in 2D and 3D.
1. 2D deformation
Deg stands for degree (degrees). There can be no fewer units. There are only deg units and no other units.
Rotate (angle) specifies the angle in the parameters
Skew is tilted along the 2D slant of the X and Y axes.
SkewX (angle) is tilted in 2D along the X axis.
SkewY (angle) is tilted in 2D along the Y axis.
Scale (XBI y)
2D scale conversion along the X and Y axes. Greater than 1: zoom in, 0x1: zoom out.
ScaleX (x) sets the value of the X axis to define the scaling transformation.
ScaleY (y) sets the value of the Y axis to define the scaling transformation.
Note:
No deformation: transform:none
A variety of deformations are separated by spaces. Ef:transform:scale (0.5) skew (10degme 20deg) rotate (30deg)
2. 3D deformation
Google launched Chrome36 in 2013, officially announcing that CSS has entered the 3D era.
The 3D transformation of translate3d (XMagneyMagnez) along the X, Y and Z axes.
Translate space movement
TranslateX (x) conversion, just using the value of the X axis.
TranslateY (y) is converted, just with the value of the Y axis.
TranslateZ (z) 3D conversion, just using the value of the Z axis.
Rotate3d rotates in 3D along the X, Y, and Z axes.
Rotate rotation
RotateX (angle) rotates 3D along the X axis.
RotateY (angle) rotates 3D along the Y axis.
RotateZ (angle) rotates 3D along the Z axis.
Perspective (n) defines a perspective view (depth of field) for 3D transformation elements.
These are all the contents of this article entitled "what are the precautions for deformation attributes in Css3?" 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!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.