Submitted about 3 years ago
Blogr landing page created with HTML, SCSS, Bootstrap and JS
@morgan03
Design comparison
SolutionDesign
Solution retrospective
Would love some feed back! How did everyone else manage to place the phones outside of the dark blue border ?
Community feedback
- @WillearysonPosted about 3 years ago
you need to define a container to align all the content on the page, use these lines
<header> <div class="container"></div> </header> on the style page you define a width and height, background color, margin-left:auto, margin-right:auto.(to center the content) when you notice that the width is ok, you erase the height and the background color and that's it you can put the content of your page inside the container. for example: <section> <div class="container"> .<div class="text"> <h1>something</h1> </div> </div> </section>Marked as helpful1@morgan03Posted about 3 years ago@Willearyson Thank you for the tips! I'll make some these changes
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