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)
<br />How can I remove the scroll bar on the...
Nginx (engine x) is a high-performance HTTP and r...
The shutdown.bat file has a sentence if not "...
When you are working on a shared system, you prob...
1. Built-in functions 1. Mathematical functions r...
The operating environment of this tutorial: Windo...
Tomcat defines multiple ClassLoaders internally s...
This article example shares the specific code of ...
About password strength verification: [root@mysql...
In SQL, GROUP BY is used to group data in the res...
Linux builds NFS server In order to achieve data ...
I recently wrote a mobile page at work, which was...
Table of contents Component recursive call Using ...
This article shares the specific code for JavaScr...
Preface This article introduces a tutorial on how...