Question: My CSS is bad, I need help to make it look like the pic but i dont know how Here is my code : *

My CSS is bad, I need help to make it look like the pic but i dont know how
Here is my code :
*{
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif; bangalore
270
Bengaluru
e search icon it
=30%
5.66kmh
Harmalty
windspaca
58: Enter City Name
22C
New York
50%
50%
Humidity
Wind Speed
box-sizing: border-box;
}
body {
background-color: #eec0c8;
}
.card {
width: 90%;
max-width: 470px;
background: linear-gradient(135deg, #e66465, #5b548a);
color: #fff;
margin: 100px auto 0;
border-radius: 20px;
padding: 40px 35px;
text-align: center;
}
.search{
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
}
.search input {
padding: 10px 25px;
outline: 0;
background: #ebfffc;
color: #555;
height: 60px;
flex: 1;
margin-right: 16px;
border: 0;
border-radius: 30px;
font-size: 18px;
}
.search button {
background: #ebfffc;
border: 0;
outline: 0;
border-radius: 50%;
width: 60px;
height: 60px;
cursor: pointer;
}
.search button img {
width: 16px;
}
.weather-icon{
width: 170px;
margin-top: 30px;
}
.weather h1{
font-size: 45px;
font-weight: 500;
}
.weather h2{
font-size: 45px;
font-weight: 400px;
margin-top: -10px;
}
.details{
display: flex;
align-items: center;
justify-content: space-between;
padding: 020px;
margin-top: 50px;
}
.col{
display: flex;
align-items: center;
text-align: left;
}
.col img{
width: 40px;
margin-right: 10px;
}
.humidity .wind {
font-size: 28px;
margin-top: -6px;
}
.weather{
display: none;
}
.error{
text-align: left;
margin-left: 10px;
font-size: 14px;
margin-top: 10px;
display: none;
}
 My CSS is bad, I need help to make it look

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!