Submitted over 2 years ago
Huddle Landing Page With Single Introductory Section (HTML & CSS)
@Harshi786
Design comparison
SolutionDesign
Solution retrospective
Hi, I'm having problem with margins and paddings to center text in the content section of mobile view. As I have already defined margin-padding in desktop view, text is not coming in center even if I am setting margin/padding to 0/auto for mobile view.
Any suggestions on how I can improve are welcome! :)
Community feedback
- @lovishduggalPosted over 2 years ago
Use text align-center in the content section. It might be helpful .
0@Harshi786Posted over 2 years agoHey @lovishduggal,
If you will check my code then I have already used
text-align:center
. :)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