Pratik Singh• 80
@Griffins13
Posted
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 helpful
0
Kenn-eth• 40
@Kenn-eth
Posted
THANKS @Griffins13
1