Weather App Using HTML, CSS And JavaScript
Fri Aug 30 2024 21:21:21 GMT+0000 (Coordinated Universal Time)
Saved by
@icao21
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600&display=swap");
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: "Poppins", sans-serif;
background-color: linear-gradiet(300deg, #757b87, #909d9d);
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
flex-direction: column;
}
input {
padding: 1rem;
border-radius: 25px;
border: none;
background-color: #fff;
font-family: inherit;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
min-width: 300px;
font-size: 1rem;
}
input:focus {
outline: none;
}
.weather {
text-align: center;
font-size: 2rem;
}
.weather h2 {
margin-bottom: 0;
display: flex;
align-items: center;
} /* .weather img{ transform: scale(2); } */
content_copyCOPY
https://www.codewithrandom.com/2023/11/25/weather-app-javascript-weather-app-using-html-css-javascript/
Comments