Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
I have created this my by ownself.
What challenges did you encounter, and how did you overcome them?I was not able to find the image but after sometime I find it.
What specific areas of your project would you like help with?Coding.
Community feedback
- @AdhamElSamahy909Posted 7 months ago
Instead of applying
text-align: center;
to thep
and theh2
, you can apply it the parent container.0@AdhamElSamahy909Posted 7 months ago@RehanKhaz Just write
text-align: center;
in the .main class. By default , the p and the h2 will inherit it as they're inside the container with themain
class.Marked as helpful0
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