Design comparison
SolutionDesign
Community feedback
- @Griffins13Posted 9 months ago
I would suggest you use this line inside the body... body{ min-height: 100vh; /* This ensures the body covers the full viewport height */ } this will make sure that your subject will stay in the center of the screen (top-down). Please mark this helpful if you found the suggestion helpful. Thanks.
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