MaximilianoDanielGarcia• 2,000
@MaximilianoDanielGarcia
Posted
Hi Lamar, great job!
If you're wondering how to center it, you can use either Flex Box or CSS Grid.
- Using Flex Box:
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
- Using CSS Grid:
body {
display: grid;
place-items: center;
min-height: 100vh;
}
And if you want to adjust your background image to the screen size just add background-size: cover;
After you apply these suggestions it will look better.
1