<!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>设置3D场景</title> <style> #experiment{ perspective: 800px; perspective-origin:50% 50%; transform-style:preserve-3d; } #block{ width:500px; height:500px; background-color:#69c; margin:100px auto; transform:rotateX(45deg); } </style></head><body> <div id="experiment"> <div id="block"> </div> </div></body></html>
1 回答
- 1 回答
- 0 关注
- 1497 浏览
添加回答
举报
0/150
提交
取消