Design comparison
SolutionDesign
Solution retrospective
- Media queries where confusing.
- The mobile view.
- How can i improve my coding skills?
Community feedback
- @guilleoemPosted over 2 years ago
Hi, nice try! I realize you used bootstrap, but you don't have to. I give you some tips and I hope they are useful:
1- Realize that you have in the main content a card that has an image on one side and the text on the other, then you could try something like
<main> <div class="card"> <div class="image-container"></div> <div class="text-container"></div> </div> </main>
That would be the basic structure. To center the card you simply give some properties to your <main> element:
main { height: 100vh; display: flex; justify-content: center; align-items: center; }
Marked as helpful0@Newking1SarkcessPosted over 2 years ago@guilleoem thanks it's very helpful I really appreciate and I would even appreciate more if you can keep sharing with me. Thank you.
1
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