当前位置:网站首页>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);
边栏推荐
- Oracle连接MySQL报错IM002
- dns备用服务器信息,dns服务器地址(dns首选和备用填多少)
- 用户认证技术
- torchvision.models._utils.IntermediateLayerGetter使用教程
- 分布式文件存储系统的优点和缺点
- 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
- Technology is as important as business. It is wrong to favor either side
- [200 opencv routines] 212 Draw a slanted rectangle
- SVN版本控制器的安装及使用方法
- 最全H桥电机驱动模块L298N原理及应用
猜你喜欢
随机推荐
Oracle连接MySQL报错IM002
反编译jar包,修改后重新编译为jar包
Decompile the jar package and recompile it into a jar package after modification
DNS standby server information, DNS server address (how many DNS preferred and standby are filled in)
[registration] infrastructure design: from architecture hot issues to industry changes | tf63
C any() and aii() methods
prometheus告警流程及相关时间参数说明
Apache POI的读写
通俗易懂理解樸素貝葉斯分類的拉普拉斯平滑
[so official interview] Why do developers using rust love it so much
On anchors in object detection
[STM32] Hal library stm32cubemx tutorial 12 - IIC (read AT24C02)
【OpenCV 例程200篇】212. 绘制倾斜的矩形
flutter 微信分享
JS array splicing "suggested collection"
dns备用服务器信息,dns服务器地址(dns首选和备用填多少)
小白也能看懂的网络基础 03 | OSI 模型是如何工作的(经典强推)
Product strength benchmarking seal /model 3, with 179800 pre-sales of Chang'an dark blue sl03
[system design] proximity service
巴基斯坦安全部队开展反恐行动 打死7名恐怖分子







