@AgataLiberska
Posted
Hi @DrunkenNeoguri, my question here is - why do you need to set the body's width at all? I'd leave it alone and allow it to take up the default full width of the screen, and just set a max-width on the card.
Other than this though, nice work on this challenge, it looks very nice, maybe you could try to add the box shadow under the blue button to match the design? It would also be great to see more semantic elements :)
Marked as helpful
@DrunkenNeoguri
Posted
@AgataLiberska
Thanks for the reply!
I read your reply and applied max-width to the body!
There was no problem on desktop, but when viewed on mobile screen, img tag did not receive max-width applied to body. It was changed by forcibly applying the max-width attribute inside the img tag. T T
Is there a way to express the content with only the body? I want to know!
And, as you said, I confirmed through the example image that the shadow area should be displayed in the button area!
Also, the cards had to show shadow areas! thank you for telling me! :D