Design comparison
SolutionDesign
Community feedback
- @eman2point0Posted 15 days ago
I would recommend surrounding your
h1
element andp
element with adiv
to make sure they stay inside your box container without bleeding over.<div class='text-description'> <h1> Bold Lettering </h1> <p> Instructions here.</p> </div>
You can then use
display:flex;
to give them even space andflex-direction: column;
to make them line up vertically.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