Design comparison
SolutionDesign
Solution retrospective
What specific areas of your project would you like help with?
Responsiveness and general well-made layout
Community feedback
- @voespinal-codePosted 3 months ago
Hello Brother how are you? I was checking your code, if you want it to be responsive, you don't need to add display flex in all <div>, you just need to define display flex in your parent container.
So once you have a <div> with an image element inside, you just need to style your image element, you can say.
img{ width:90%;} and then add the margin you want this would add responsiveness to your image inside the container and you will be able to fit any content.
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
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