We use the translate parameter to achieve movement translateX: Translate along the X axis. Fill in a positive number to translate to the right, and a negative number to translate to the left. translateY : translate along the Y axis, fill in a positive number to translate downward, fill in a negative number to translate upward translateZ: The larger the value, the closer the image you see is to you. The smaller the value, the farther the image you see is from you. translate sets translateX and translateY at the same time translate(translateX, translateY) The first parameter is the translation along the X axis. Fill in a positive number to translate to the right, fill in a negative number to translate to the left. The second parameter is the translation along the Y axis. Fill in a positive number to translate downward, fill in a negative number to translate upward. translate3d sets translateX, translateY and translateZ at the same time, so you can fill in three parameters transform: translate3d(0,-50%,-50px) The first parameter is the translation along the X axis. Fill in a positive number to translate to the right, and fill in a negative number to translate to the left. The second parameter is the translation along the Y axis. Fill in a positive number to translate downward, and fill in a negative number to translate upward. The third parameter is the translation along the Z axis. The larger the value, the closer the image you see is to you. The smaller the value, the farther the image you see is from you. This is the end of this article about examples of how to achieve translation effect (transfrom: translate) with CSS3. For more information about CSS3 translation transfrom: translate, please search previous articles on 123WORDPRESS.COM or continue to browse the related articles below. We hope that you will support 123WORDPRESS.COM in the future! |
<<: Let's talk about the LIMIT statement in MySQL in detail
>>: Detailed steps for Linux firewall configuration (based on yum warehouse configuration)
I believe that people who have experience with Re...
Table of contents 1. Install the proxy module 2. ...
1. Write a Mysql link setting page first package ...
Preface Tomcat is an excellent Java container, bu...
After the previous two chapters, do you have a ne...
Record some of the places where you spent time on...
It is a very common requirement to set the horizo...
The HTTP request methods specified by the HTTP/1....
Download mysql-5.7.19-winx64 from the official we...
When we preview PDF on the page, some files canno...
Table of contents 1. Relationship between parent ...
This article shares the specific code for impleme...
Collapsed headers are a great solution for displa...
When learning Vue, when I always use webpack inst...
The <tfoot> tag is used to define the style...