Lucas πΎβ’ 104,440
@correlucas
Posted
πΎHello Ionut, congratulations for your new solution!
Your solution is almost done, all you've missed here is the general content alignment, that is not centered here. You need to add flex
and min-height: 100vh
to the body to have the alignment.
See how can you fix it:
body {
min-height: 100vh;
background: url(../img/bg-desktop.svg) no-repeat center center fixed;
background-size: cover;
background-color: hsl(257deg, 40%, 49%);
display: flex;
align-items: center;
justify-content: center;
}
π I hope this helps you and happy coding!
Marked as helpful
0