-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
50 lines (43 loc) · 978 Bytes
/
style.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
body {
font-family: Arial, sans-serif;
/* Add a pink gradient background */
background: linear-gradient(to right, #ffafbd, #ffc3a0);
}
.content-box {
border: 1px solid #000;
border-radius: 10px;
padding: 20px;
margin: 20px;
}
.button {
background-color: #4CAF50;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
/* Make the buttons round */
border-radius: 12px;
/* Add a transition for the hover effect */
transition: background-color 0.3s ease;
}
/* Change the background color when you hover over the button */
.button:hover {
background-color: #45a049;
}
/* Add an animation when you click the button */
.button:active {
animation: click 0.5s;
}
@keyframes click {
50% {
transform: scale(0.9);
}
100% {
transform: scale(1);
}
}