-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle17.css
91 lines (76 loc) · 1.31 KB
/
style17.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
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
@keyframes fantasma{
0%{
opacity: 0%;
}
25%{
opacity: 25%
}
50%{
opacity: 50%;
}
75%{
opacity: 75%
}
100%{
transform: translateX(600px); opacity: 100%
}
}
@keyframes golfe{
0%{
opacity: 100%;
}
95%{
opacity: 90%;
}
100%{
transform: translate(-180px, 267px); opacity: 0%
}
}
figure img{
width: 200px;
}
.fantasma{
animation: fantasma 4s infinite
}
section{
width: 400px;
height: 500px;
background-color: green;
position: relative;
}
section .taco{
width: 150px;
position: absolute;
right: 50px;
top: 30px;
transition-duration: 0.5s;
}
section .taco:hover{
transform: rotate( 30deg)
}
section .bola{
width:30px;
position: absolute;
top: 170px;
right: 160px;
animation: golfe 3s
}
section .buraco{
width:50px;
position: absolute;
border-radius: 50%;
bottom: 20px;
left: 20px;
}
button{
background-color:#3e8100;
color: #fff;
padding: 15px 30px;
margin-top: 50px;
border: none;
border-radius: 5px;
transition-duration: 0.5s;
}
button:hover{
background-color: #254d00;
}