Skip to content

Commit 2096c03

Browse files
committed
Add styles
1 parent 1300d04 commit 2096c03

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

Source-Code/StopWatch/style.css

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
body {
2+
display: flex;
3+
justify-content: center;
4+
align-items: center;
5+
height: 100vh;
6+
background-color: #2e2a2a;
7+
margin: 0;
8+
font-family: Arial, sans-serif;
9+
}
10+
11+
.container {
12+
display: flex;
13+
flex-direction: column;
14+
justify-items: center;
15+
align-items: center;
16+
}
17+
18+
.stopwatch, h1, span{
19+
color: aliceblue;
20+
}
21+
.stopwatch {
22+
font-size: 48px;
23+
margin-bottom: 20px;
24+
}
25+
26+
.buttons {
27+
display: flex;
28+
justify-content: center;
29+
gap: 10px;
30+
}
31+
32+
button {
33+
padding: 10px 20px;
34+
font-size: 16px;
35+
cursor: pointer;
36+
border: none;
37+
border-radius: 5px;
38+
background-color: #007BFF;
39+
color: #fff;
40+
}
41+
42+
button:active {
43+
background-color: #0056b3;
44+
}
45+

0 commit comments

Comments
 (0)