Skip to content

Commit 07c6ee4

Browse files
committed
update mobile
1 parent 1d383ff commit 07c6ee4

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

style.css

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,3 +126,37 @@ body {
126126
height: 40%;
127127
background-color: red;
128128
}
129+
130+
@media (max-width: 767px){
131+
.clock {
132+
width: 300px;
133+
height: 300px;
134+
}
135+
136+
.clock .number {
137+
font-size: 1.1rem;
138+
padding: 6px;
139+
}
140+
141+
.clock .hand.hours {
142+
width: 7px;
143+
}
144+
145+
.clock .hand.minutes {
146+
width: 5px;
147+
height: 36%;
148+
}
149+
150+
.clock .hand.seconds {
151+
width: 3px;
152+
height: 38%;
153+
}
154+
}
155+
156+
@media (max-width: 400px) {
157+
.clock {
158+
width: 220px;
159+
height: 220px;
160+
}
161+
162+
}

0 commit comments

Comments
 (0)