Marcos Travaglini• 4,920
@Blackpachamame
Posted
Greetings! you have done a great job 😎
You can center the content in the center of the screen by applying the following to your body:
body {
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
background-image: url(bg-intro-desktop.png);
background-size: cover;
background-repeat: no-repeat;
background-color: hsl(0, 100%, 74%);
/* max-width: 1440px; I don't see it necessary */
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
gap: 20px; /* Separate the main from the footer */
min-height: 100vh;
}
0
DOUAR Sara• 90
@sarah131313
Posted
@Blackpachamame Thank you so much that was helpful , so I will update the solution
0