赞
踩
- <!DOCTYPE html>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
- <style type=text/css>
- body{
- background-color:#666666;
- }
- .land{
- margin:0px;
- padding:0px;
- font-size:150px;
- font-family:"微软雅黑";
- width:200px;
- height:250px;
- background-color:#888888;
- transform-style:preserve-3d;
- transform:perspective(1000px) rotateX(60deg) rotateZ(30deg);
- }
- .centered{
- margin-left:auto;
- margin-right:auto;
- }
- .floor{
- position:absolute;
- top:25px;
- left:25px;
- width:150px;
- height:150px;
- padding:0px;
- transform-style:preserve-3d;
- color:#cccccc;
- }
- //堆叠10个层形成类似拉伸成立体的效果
- .floor0{
- transform:perspective(1000px) translateX(0
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。