Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
cant center the box for shit still. But managed to do it probably in the worst way
What challenges did you encounter, and how did you overcome them?transitions, but not much.
What specific areas of your project would you like help with?How to set an element to the middle without interfering with anything else
Community feedback
- @kodan96Posted 6 months ago
hi there! ๐
You can center your content with Flexbox if you apply these to the
body
tag:body { min-height: 100vh; display: flex; justify-content: center; align-items: center; }
Hope this was helpful ๐
Good luck and happy coding! ๐
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