-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
74 lines (63 loc) · 1.32 KB
/
Copy pathindex.css
File metadata and controls
74 lines (63 loc) · 1.32 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
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background: #f0f0f0; /* Set your desired background color */
text-align: center;
}
header {
background: #333;
color: #fff;
padding: 20px 0;
}
footer {
background: #333;
color: #fff;
padding: 10px 0;
position: absolute;
bottom: 0;
width: 100%;
}
.main {
padding: 20px;
}
.buttons {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
margin-top: 50px;
}
.button {
padding: 10px 20px;
margin: 10px;
font-size: 16px;
background: #4CAF50; /* Set your desired button color */
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
transition: all 0.3s ease;
}
.button:hover {
background: #45a049; /* Change color on hover */
}
/* Keyframe animation example for buttons */
@keyframes buttonAnimation {
0% {
transform: scale(1);
}
50% {
transform: scale(1.2);
}
100% {
transform: scale(1);
}
}
.button:nth-child(1) {
animation: buttonAnimation 2s infinite; /* Apply animation to button 1 */
}
.button:nth-child(2) {
animation: buttonAnimation 2s infinite alternate; /* Apply different animation to button 2 */
}
/* Add more nth-child selectors for more buttons */