-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTRANS.CSS
More file actions
66 lines (49 loc) · 1.09 KB
/
Copy pathTRANS.CSS
File metadata and controls
66 lines (49 loc) · 1.09 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
.container {
background-color: gray;
width: 90vw;
height: 50vh;
text-align: center;
margin: 20px;
padding: 20px;
bottom: 2px solid black;
box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.5);
transition-property: background-color;
transition-duration: 3s;
transition-timing-function: linear;
transition-delay: 1s;
animation: bounce;
animation-duration: 3s;
animation-timing-function: linear;
animation-delay: 1s;
}
button {
margin-top: 20px;
padding: 5px 5px;
font-size: 10px;
cursor: pointer;
background-color: blue;
color: white;
border: none;
border-radius: 5px;
}
.container:hover {
background-color: red;
transform: scale(-0.5);
}
@keyframes bounce {
0% {
background-color: brown;
transform: translatex(10px);
columns: blue;
}
50% {
background-color: blueviolet;
transform: translatex(50px);
color: orange;
}
100% {
background-color: green;
transform: translatex(100px);
color: azure;
}
}