-
Notifications
You must be signed in to change notification settings - Fork 0
/
essais.css
65 lines (58 loc) · 868 Bytes
/
essais.css
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
body{
width: 100%;
height: 100vh;
background-color: pink;
}
.hands-container{
width: 100%;
height: 300px;
display: flex;
justify-content: center;
}
.hand-container{
position: relative;
width: 200px;
height: 200px;
display: flex;
justify-content: center;
align-items: center;
margin: 0 20px;
}
.hand{
height: 100%;
width: 100%;
background-image: url(pierre2.png);
background-position: 50%;
background-size: contain;
transform-origin: 100% 100%;
}
#joueur {
transform: rotateY(180deg);
transform-origin: 50%;
}
.anime{
animation: move 1.5s linear forwards;
}
@keyframes move {
0%{
transform: rotateZ(0deg);
}
17%{
transform: rotateZ(20deg);
}
32%{
transform: rotateZ(0deg);
}
50%{
transform: rotateZ(20deg);
}
65%{
transform: rotateZ(0deg);
}
84%{
transform: rotateZ(20deg);
}
100%{
transform: rotateZ(0deg);
}
}