当前位置:网站首页>3D移动 translate3d
3D移动 translate3d
2022-06-27 09:56:00 【m0_49471668】
3D转换我们主要学习工作中最常用的3D位移和3D旋转
主要知识点
- 3D位移 :translate3d(xy,z)
- 3D旋转: rotate3d(xy,)
- 透视: perspective
- 3D呈现: transfrom- style
- 二、3D移动 translate3d
3D移动在2D移动的基础上多加了一个可以移动的方向,就是z轴方向。
translform: translateX(100px):仅仅是在x轴上移动
translform: translateY(100px):仅仅是在Y轴上移动
translform: translateZ(100px):仅仅是在Z轴上移动(注意: translateZ一般用px作单位)
transform: translate3d(x,y,z):其中x、y、z分别指要移动的轴的方向的距离
注意:translateZ 沿着Z轴移动
translateZ 后面的单位一般跟px
translateZ(100px)向外移动100px(向我们的眼睛来移动的)
目前看不到效果,需要配合透视使用
transform: translateX(100px) translateY(100px) translateZ(100px); transform: translate3d(100px,100px,100px);
边栏推荐
- 【系统设计】邻近服务
- flutter 微信分享
- Freemarker
- Explain the imaging principle of various optical instruments in detail
- 10 common website security attack means and defense methods
- Freemarker
- 更改pip镜像源
- Une compréhension facile de la simplicité de la classification bayésienne du lissage laplacien
- [registration] infrastructure design: from architecture hot issues to industry changes | tf63
- 技术与业务同等重要,偏向任何一方都是错误
猜你喜欢

When does the mobile phone video roll off?

Your brain is learning automatically when you sleep! Here comes the first human experimental evidence: accelerate playback 1-4 times, and the effect of deep sleep stage is the best

基于STM32设计的蓝牙健康管理设备

.NET 中的引用程序集

How do I get the STW (pause) time of a GC (garbage collector)?

最全H桥电机驱动模块L298N原理及应用
![leetcode:522. Longest special sequence II [greed + subsequence judgment]](/img/43/9b17e9cb5fee9d14c2986a2141889d.png)
leetcode:522. Longest special sequence II [greed + subsequence judgment]

Principle and application of the most complete H-bridge motor drive module L298N

QT运行显示 This application failed to start because it could not find or load the Qt platform plugin

TDengine 邀请函:做用技术改变世界的超级英雄,成为 TD Hero
随机推荐
Freemarker
R language plot visualization: visualize the normalized histograms of multiple data sets, add density curve KDE to the histograms, set different histograms to use different bin sizes, and add edge whi
Quartz (timer)
借助原子变量,使用CAS完成并发操作
Google browser chropath plug-in
前馈-反馈控制系统设计(过程控制课程设计matlab/simulink)
Product strength benchmarking seal /model 3, with 179800 pre-sales of Chang'an dark blue sl03
Stop using system Currenttimemillis() takes too long to count. It's too low. Stopwatch is easy to use!
How do I get the STW (pause) time of a GC (garbage collector)?
[STM32] Hal library stm32cubemx tutorial 12 - IIC (read AT24C02)
Oracle连接MySQL报错IM002
Quick start CherryPy (1)
Multi thread implementation rewrites run (), how to inject and use mapper file to operate database
产品力对标海豹/Model 3,长安深蓝SL03预售17.98万起
小哥凭“量子速读”绝技吸粉59万:看街景图0.1秒,“啪的一下”在世界地图精准找到!...
When does the mobile phone video roll off?
你睡觉时大脑真在自动学习!首个人体实验证据来了:加速1-4倍重放,深度睡眠阶段效果最好...
Unity - - newtonsoft. Analyse json
On June 23, the video address of station B in the third episode of rust chat room
js 所有的网络请求方式