Skip to content

Commit 6e69bef

Browse files
Add files via upload
1 parent fadf19d commit 6e69bef

File tree

1 file changed

+101
-0
lines changed

1 file changed

+101
-0
lines changed

style.css

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
html {
2+
background-color: #333232;
3+
height: 100%;
4+
}
5+
6+
h1 {background-color: purple; font-size: 40px; font-family: verdana;
7+
border: 5px solid #996633; margin-left: auto; margin-right: auto; padding: 10px; margin-left: 10pc; margin-right: 10pc;
8+
}
9+
10+
#container {
11+
height: 200px;
12+
width: 700px;
13+
background-color: purple;
14+
margin: 0 auto;
15+
border: 5px solid #996633;
16+
17+
display: grid;
18+
grid-template-columns: repeat(5, 1fr);
19+
grid-template-rows: repeat(3, 1fr);
20+
}
21+
22+
/*label*/
23+
.label {
24+
margin: 0;
25+
26+
justify-self: center;
27+
align-self: center;
28+
font-size: 30px;
29+
color:yellow;
30+
}
31+
32+
#hour-label {
33+
grid-area: 1 / 2 / 1 / 3;
34+
}
35+
36+
#min-label {
37+
grid-area: 1 / 3 / 1 / 4;
38+
}
39+
40+
#sec-label {
41+
grid-area: 1 / 4 / 1 / 5;
42+
}
43+
44+
/*times*/
45+
.time {
46+
justify-self: center;
47+
align-self: center;
48+
color:yellow;
49+
border: none;
50+
background-color: #ffffff00;
51+
font-size: 50px;
52+
width: 70px;
53+
height: 50px;
54+
}
55+
56+
#hour {
57+
grid-area: 2 / 2 / 2 / 3;
58+
}
59+
60+
.semicolon {
61+
justify-self: center;
62+
align-self: center;
63+
64+
font-size: 30px;
65+
margin: 0;
66+
}
67+
#p1 {
68+
grid-area: 2 / 2 / 2 / 4;
69+
}
70+
71+
#minute {
72+
grid-area: 2 / 3 / 2 / 4;
73+
}
74+
75+
#p2 {
76+
grid-area: 2 / 3 / 2 / 5;
77+
}
78+
79+
#sec {
80+
grid-area: 2 / 4 / 2 / 5;
81+
}
82+
83+
/*buttons*/
84+
85+
.btn {
86+
align-self: center;
87+
88+
width: 100px;
89+
height: 40px;
90+
91+
font-size: 30px;
92+
justify-self: center;
93+
}
94+
95+
#start {
96+
grid-area: 3 / 2 / 3 / 4;
97+
}
98+
99+
#reset {
100+
grid-area: 3 / 3 / 3 / 5;
101+
}

0 commit comments

Comments
 (0)