We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af2e295 commit 21fdd98Copy full SHA for 21fdd98
project-10-digital-clock/style.css
@@ -5,16 +5,34 @@ body {
5
align-items: center;
6
height: 100vh;
7
justify-content: center;
8
+ font-family: sans-serif;
9
background: url("./bg_pic.jpg");
10
}
11
12
h2 {
13
text-transform: uppercase;
14
letter-spacing: 4px;
- font-size: 14px;
15
+ font-size: 2rem;
16
text-align: center;
17
18
19
.clock {
20
display: flex;
21
22
+
23
+.clock div {
24
+ margin: 5px;
25
+}
26
27
+.clock span {
28
+ display: flex;
29
+ width: 100px;
30
+ height: 80px;
31
+ background-color: red;
32
+ color: white;
33
+ opacity: 0.9;
34
+ justify-content: center;
35
+ align-items: center;
36
+ font-size: 48px;
37
+ text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
38
0 commit comments