Design comparison
Solution retrospective
I need to learn SASS, and learn about frameworks. I am most definitely a newbie and will be making more projects to practise.
Community feedback
- @elliezubPosted about 1 year ago
Hi, it looks great!! One thing that would make it even better is making sure its in the center of the viewport, theres a few ways you can achieve this. If you need help, let me know :)
0@jrose00Posted about 1 year ago@elliezub Hello, thank you for the feedback. How would I achieve the above? Thank you
0@elliezubPosted about 1 year ago@jrose00 Hi, you can set the margin:auto; on your container
Another option is you could add this to your body: display: flex; flex-direction: column; justify-content: center; align-items: center;
the first option is easier, but you may also want to add a bit of margin on the top of the container so it isn't at the top of the screen.
Hope this helps!
Marked as helpful1
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