-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
99 lines (82 loc) · 1.68 KB
/
style.css
File metadata and controls
99 lines (82 loc) · 1.68 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
*, ::after, ::before {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: #333;
width: 100vw;
height: 100vh;
padding-top: 25px;
transform-style: preserve-3d;
}
h1 {
color: #f1f1f1;
text-align: center;
font-size: 40px;
font-family: Arial, Helvetica, sans-serif;
}
label {
color: #f1f1f1;
text-align: center;
font-size: 20px;
}
.valeur {
color: #f1f1f1;
text-align: center;
font-size: 20px;
}
.input {
margin: 20px auto 0;
text-align: center;
}
.reset {
margin-top: 10px;
width: 200px;
height: 50px;
border: none;
background: #fff;
color: #333;
text-align: center;
font-size: 20px;
cursor: pointer;
border-radius: 4px;;
box-shadow: 0 1px 3px rgba(67, 138, 201, 0.7), 0 1px 2px rgba(0, 0, 0, 0.24);
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.reset:hover {
background: #f1f1f1;
box-shadow: 0 14px 28px rgba(67, 138, 201, 1), 0 10px 10px rgba(0, 0, 0, 0.22);
}
.reset:active {
font-size: 30px;
}
.content{
margin:auto;
position: relative;
transform-style: preserve-3d;
width:500px;
height:500px;
display: flex;
justify-content: center;
align-items: center;
transition: transform 0.3s;
}
.canvas{
position:absolute;
}
.bottom{
transform: translateY(130px) rotateX(90deg);
}
.right {
transform: translateX(75px) rotateZ(-30deg) rotateY(-90deg);
}
.left {
transform: translateX(-75px) rotateZ(30deg) rotateY(-90deg);
}
.front {
transform: translateZ(75px) rotateX(30deg) rotateY(-180deg);
}
.back {
transform: translateZ(-75px) rotateX(-30deg) rotateY(-180deg);
}