forked from sumn2u/learn-javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
51 lines (45 loc) · 984 Bytes
/
styles.css
File metadata and controls
51 lines (45 loc) · 984 Bytes
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
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #f0f0f0;
font-family: 'Arial', sans-serif;
}
.stopwatch {
text-align: center;
background-color: white;
padding: 40px;
border-radius: 15px;
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
width: 90%;
max-width: 400px;
}
#display {
font-size: 3.5rem;
font-weight: bold;
margin-bottom: 20px;
color: #333;
font-family: 'Courier New', Courier, monospace;
}
.buttons {
display: flex;
justify-content: center;
gap: 15px;
}
.buttons button {
font-size: 1.2rem;
padding: 10px 20px;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s, transform 0.1s;
color: white;
}
#startBtn { background-color: #28a745; }
#stopBtn { background-color: #dc3545; }
#resetBtn { background-color: #007bff; }
.buttons button:hover {
opacity: 0.9;
}