Skip to content

Commit 596be77

Browse files
Merge pull request #836 from Rohit12012007/patch-10
Update style.css
2 parents 778c346 + fd5fb55 commit 596be77

File tree

1 file changed

+19
-10
lines changed

1 file changed

+19
-10
lines changed

Count-Down-To-New-Year/style.css

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&display=swap');
2-
*{box-sizing : border-box;}
3-
body{
2+
* {
3+
box-sizing: border-box;
4+
}
5+
6+
7+
body {
48
background-image: url('./snow.jpg');
59
background-size: cover;
610
background-position: center center;
@@ -11,25 +15,30 @@ body{
1115
min-height: 100vh;
1216
margin: 0;
1317
}
14-
h1{
18+
19+
h1 {
1520
margin-top: 7rem;
1621
font-weight: normal;
1722
font-size: 3rem;
1823
}
19-
.countdown-c{
24+
25+
.countdown-c {
2026
display: flex;
2127
flex-wrap: wrap;
22-
2328
}
24-
.big{
29+
30+
.big {
2531
font-weight: bold;
2632
font-size: 3rem;
2733
line-height: 1;
2834
margin: 0 2rem;
2935
}
30-
.count{
31-
text-align: center;
36+
37+
.count {
38+
text-align: center;
3239
}
33-
.count span{
40+
41+
.count span {
42+
3443
font-size: 1.3rem;
35-
}
44+
}

0 commit comments

Comments
 (0)