Skip to content

Commit a8fc031

Browse files
committed
adds basic CSS
1 parent cedc0ea commit a8fc031

2 files changed

Lines changed: 24 additions & 1 deletion

File tree

‎Weather-App/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<link rel="stylesheet" href="Weather App\style.css" />
6+
<link rel="stylesheet" href="style.css" />
77
<title>Weather</title>
88
</head>
99
<body>

‎Weather-App/style.css‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
*{
2+
margin: 0;
3+
padding: 0;
4+
box-sizing: border-box;
5+
}
6+
7+
body{
8+
height: 100vh;
9+
display: flex;
10+
justify-content: center;
11+
flex-direction: column;
12+
align-items: center;
13+
background: linear-gradient(rgb(44, 100, 165), rgb(48, 67, 144));
14+
font-family: sans-serif;
15+
color: antiquewhite;
16+
}
17+
18+
.location {
19+
height: 30vh;
20+
width: 50%;
21+
display: flex;
22+
justify-content: space-around;
23+
}

0 commit comments

Comments
 (0)