-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathissue-53-1.html
128 lines (122 loc) · 3.9 KB
/
issue-53-1.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 上述3个meta标签*必须*放在最前面,任何其他内容都*必须*跟随其后! -->
<title>Bootstrap 101 Template</title>
<!-- Bootstrap -->
<!--link href="dist/css/bootstrap.min.css" rel="stylesheet"-->
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<style type="text/css">
.button{
width:200px;
height:40px;
line-height: 40px;
border:1px solid #1f6a99;
text-align: center;
background: #2b96d9;
color:white;
border-radius:5px;
box-shadow:2px 1px 6px rgba(0,0,0,0.5);
background:linear-gradient(#31abf7,#2072a5);
/*box-shadow:0 0 0 10px #709b1e,inset 0 0 20px #000,300px 0 0 2px #709b1e;*/
}
.circle{
width:100px;
height:100px;
line-height: 40px;
border:10px solid #d9331a;
text-align: center;
background: transparent;
color:white;
border-radius:50% ;
background: linear-gradient(
to right bottom,
transparent ,
#d9331a 46%,
#d9331a 54%,
transparent
);
}
.box{
margin-left:200px;
margin-top: 200px;
position:absolute;
transform:rotate3d(100,100,100,20deg);
perspective: 1200px;
/*perspective-origin: 260px 260px;*/
transform-style:preserve-3d;
animation:rotate 5s 1s linear infinite both;
}
@keyframes rotate{
100%{transform:rotate3d(1,1,1,380deg);}
}
.box *{
position:absolute;
text-align: center;
line-height: 300px;
font-size: 4em;
height: 300px;
width: 300px;
border:2px solid;
}
.box > .top{
transform:rotateX(90deg) translateZ(150px);
background: rgba(255,0,0,0.5);
}
.box>.bottom{
transform:rotateX(-90deg) translateZ(150px);
background: rgba(0,255,0,0.5);
}
.box>.left{
transform:rotateY(-90deg) translateZ(150px);
background: rgba(0,0,255,0.5);
}
.box>.right{
transform:rotateY(90deg) translateZ(150px);
background: rgba(0,255,255,0.5);
}
.box>.back {
transform:rotateY(180deg) translateZ(150px);
background: rgba(255,0,255,0.5);
}
.box>.front{
transform:translateZ(150px);
background: rgba(255,255,0,0.5);
}
</style>
</head>
<body>
<div class="button">网易前端微专业</div>
<div class="box">网易前端微专业
<div class="top">top</div>
<div class="bottom">bottom</div>
<div class="left">left</div>
<div class="right">right</div>
<div class="front">front</div>
<div class="back">back</div>
</div>
<!-- Small modal -->
<!--
<button type="button" class="btn btn-primary" data-toggle="modal" data-target=".bs-example-modal-sm">Small modal</button>
<div class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
<div class="modal-dialog modal-sm">
<div class="modal-content">
...
</div>
</div>
</div>
-->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<!--script src="http://cdn.bootcss.com/jquery/1.11.2/jquery.min.js"></script-->
<!-- Include all compiled plugins (below), or include individual files as needed -->
<!--script src="dist/js/bootstrap.min.js"></script-->
</body>
</html>