Matias Ludueña• 1,990
@matiasluduena23
Posted
Hi Namrata Sinha’s! Congratulation you finished the challenge! Just one advice that might help you with this and other projects.
- Notice that both sides of the card have the same width. To make that you can use grid or flex.
With grid
.container {
display: grid;
grid-template-columns: repeat(2, 1fr)
max-width: 700px; // play with this number
}
With flex
.container {
display: flex;
max-width: 700px; // play with this number
}
.container-details ,
.container-img {
width: 50%;
}
Hope this help you!
Good code!
Matias
Marked as helpful
0
Namrata Sinha• 530
@nmrtsnh
Posted
@matiasluduena23 Thank you for the feedback! Make sense. I'll implement this one.
0