Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
will name rel more specific
What challenges did you encounter, and how did you overcome them?nothing new
What specific areas of your project would you like help with?nothing
Community feedback
- @Rayco21Posted 6 months ago
.text{ display: block;
} .text h1{ display: block; font-size: 22px; margin-left: 16px; margin-right: 16px; text-align: center; font-family: "Outfit", sans-serif; }
because div and h1 they are block element, by default their display is set to block already, no need to specify it.
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