我不是 CSS 开发人员,所以请多多包涵。这就是我想要实现的目标。
到目前为止,我能够创造这么多..
我现在很困惑如何创建墙(C)。请帮我。
截至目前,二维图片的代码如下。
<html><head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<style type="text/css">
#floor {
-webkit-transform: skew(148deg);
-moz-transform: skew(148deg);
-o-transform: skew(148deg);
background: none repeat scroll 0 0 #000066;
float: left;
height: 54px;
left: 100px;
position: fixed;
top: 108px;
width: 100px;
}
#frontwall {
width: 100px;
height: 100px;
background: #0099FF;
position: fixed;
left: 117px;
}
#otherwall {
width: 150px;
height: 100px;
-webkit-transform: rotate(-20deg) ;
-moz-transform: rotate(-20deg) ;
-o-transform: rotate(-20deg) ;
background: #0000CC;
float: left;
}
</style>
</head>
<body>
<div id="otherwall"></div>
<div id="frontwall"></div>
<div id="floor"></div>
</body></html>