Faisal Ahmed• 410
@faisalahmed11
Posted
Hi there @samuerikcoder, the solution to question 2 is given below.
just replace your image styles with
img {
height: 100%;
}
0
I have 3 questions about Challenge:
1.Why in mobile dimensions the top of the card is hidden and does not appear at all? how can I solve this?
2.At some widths the image does not occupy 100% of the screen.
3.Why did I have to force the image in desktop dimensions to occupy 100% height?
@faisalahmed11
Posted
Hi there @samuerikcoder, the solution to question 2 is given below.
just replace your image styles with
img {
height: 100%;
}
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord