赞
踩
- <!DOCTYPE html>
- <html lang="en">
-
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <title>3d柱状图</title>
- </head>
- <style>
- .cube-warper {
- position: relative;
- width: 30px;
- height: 400px;
- transform-style: preserve-3d;
- transform: rotateX(-30deg) rotateY(45deg);
- }
-
- .cube-box {
- width: 30px;
- height: 400px;
- position: absolute;
- left: 20px;
- bottom: 0;
- transition: .5s all;
- }
-
- .cube-box1 {
- left: 20px;
-
- }
-
- .cube-box2 {
- left: 150px;
- bottom: -45px;
- }
-
- .cube-box3 {
- left: 280px;
- bottom: -90px;
- }
-
- .cube {
- position: absolute
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。