@abhay8696
Posted
Hey @Jacwilalasey, You need only one div in body element. And to keep that div in center of page, use flexbox as shown below: body{ height: 100vh; display: flex; align-items: center; justify-content: center; } This will keep your content in center always. And for the image size issue, keep its max-width to 100%.
Hope this helps, thank you.
Marked as helpful
@Jacwilalasey
Posted
@abhay8696 Thanks! This worked really well, appreciate the feedback!