-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
131 lines (125 loc) · 2.23 KB
/
style.css
File metadata and controls
131 lines (125 loc) · 2.23 KB
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
129
130
131
/*
* @Author: Marte
* @Date: 2017-08-14 16:15:53
* @Last Modified by: Marte
* @Last Modified time: 2017-09-01 16:10:11
*/
*{
margin: 0;
padding: 0;
}
body{
background-color: #ccc;
/* animation: bgc 10s linear infinite;*/
}
.mf{
position: absolute;
/*background-color: #4fb;*/
height: 300px;
width: 300px;
margin: 0 auto;
left: 25%;
top: 25%;
transform: translate( -50%, -50%) rotateX(45deg) rotateY(45deg) rotateZ(45deg);
transform-style: preserve-3d;
/* perspective: 1000px;*/
perspective-origin: 25%;
animation: roll 2s linear infinite;
}
.mf:hover{
animation-play-state: paused;
}
.squ{
width: 300px;
height: 300px;
position: absolute;
/* border: 1px solid #000;*/
}
.qian{
transform: translateZ(150px);
}
.hou{
transform: translateZ(-150px) rotateY(180deg);
}
.shang{
transform: translateY(-150px) rotateX(90deg);
}
.xia{
transform: translateY(150px) rotateX(-90deg);
}
.zuo{
transform: translateX(-150px) rotateY(-90deg);
}
.you{
transform: translateX(150px) rotateY(90deg);
}
.gezi{
width:90px;
height:90px;
border-radius: 30px;
border:1px solid #6fd;
float: left;
box-sizing: border-box;
margin: 5px;
line-height: 90px;
text-align: center;
font-size: 40px;
color: #fff;
text-shadow: 1px 1px 1px #000;
}
.gezi1{
background-color: #00f;
}
.gezi2{
background-color: #0f0;
}
.gezi3{
background-color: #3fb;
}
.gezi4{
background-color: #f0f;
}
.gezi5{
background-color: #f00;
}
.gezi6{
background-color: #000;
}
@keyframes roll {
0% {
transform: rotateX(0) rotateY(0) rotateZ(0);
}
100% {
transform: rotateX(360deg) rotateY(720deg) rotateZ(360deg);
}
}
@keyframes bgc{
0% {
background-color: #f0f0f0;
}
50%{
background-color: #0f0f0f;
}
100%{
background-color: #00f;
}
}
/*.speedbox{
position: absolute;
right: 5vw;
bottom: 5vh;
}
.speedbtn{
height:30px;
width:100px;
float:left;
background-color: #6fd;
display: block;
text-decoration: none;
color:#fff;
text-align: center;
line-height: 30px;
font-size: 20px;
margin-left: 20px;
}
*/