@hitmorecode
Posted
Nice well done. just a few thing you can fix
/* apply these changes to your css */
* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
}
body{
display: flex;
min-height: 100vh;
justify-content: center;
align-items: center;
}
.container{
display: grid;
place-content: center;
grid-template-columns: 1fr 1fr 1fr;
width: 800px;
height: 450px;
/* margin: 200px 200px; */ /* remove this line. flexbox on the body will place the card in the middle of the page */
}
/* apply these changes to your media query */
@media screen and (max-width:790px) {
.container{
display: grid;
grid-template-columns: 1fr;
width: unset;
height: unset;
margin: unset;
padding: 3rem 1rem;
}
.container-1{border-radius: 10px 10px 0px 0px;
}
.container-3{border-radius: 0px 0px 10px 10px;
}
}
You had three media queries, that is not necessary you can place all of those rules in one media query.
You forgot to add the hover effect on the buttons
Marked as helpful
@sheezylion
Posted
@hitmorecode appreciate the feedback and i would definitely look into it.