Rohan deshmukhā¢ 70
@Rrdesh07
Submitted
1] I was having hard time doing the last nutrition section the line below the data 2] even while designing for the mobile i was not able to set the width of image to full view , how should i do that ?
@KollerJacq
@Rrdesh07
Submitted
1] I was having hard time doing the last nutrition section the line below the data 2] even while designing for the mobile i was not able to set the width of image to full view , how should i do that ?
@KollerJacq
Posted
Hi, I was using the <hr> for every line in the code within the section. This way, it was easier to style. Also, even though there are surely better solutions for your problem with the image in the mobile version, this is how I've done it: @media (max-width: 375px) { .card-img-top { margin-top: 0; border-radius: 0; width: 375px; position: relative; right: 40px; } } You can also check out my code of this challenge if you want to!
Marked as helpful