-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
90 lines (74 loc) · 1.47 KB
/
style.css
File metadata and controls
90 lines (74 loc) · 1.47 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
*{
box-sizing: border-box;
margin: 0;
padding: 0;
}
body{
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
min-width: 100vw;
text-align: center;
font-family: monospace;
background: linear-gradient(to right,#7ed56f,#28b485);
color: #fff;
}
.container{
display: flex;
flex-direction: column;
align-items: center;
padding: 2rem;
background: rgba(0, 0, 0, 0.6);
border-radius: 10px;
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}
h1{
font-size: 4rem;
margin-bottom: 1rem;
}
.time{
font-size: 3rem;
background: rgba(0, 0, 0, 0.6);
padding: 0.5rem 1rem;
border-radius: 50px;
margin-bottom: 1.5rem;
box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}
.button-container{
display: flex;
gap: 1rem;
}
button.start,
button.stop,
button.reset{
border: none;
outline: none;
padding: 1rem 2rem;
font-size: 2rem;
border-radius: 5px;
cursor: pointer;
color: #fff;
transition: background 0.3s, transform 0.2s;
width: 150px;
}
@keyframes bounce {
0%,100%{
transform: translateY(0);
}
50%{
transform: translateY(-10px);
}
}
button.start{
background-color: #28b485;
}
button.stop{
background-color: #ff6a88;
}
button.reset{
background-color: #ff9a8b;
}
.start:hover{
animation: bounce 0.5s;
}