Lucas 👾• 104,420
@correlucas
Posted
👾Hi Filip Apatovic, congrats on completing this challenge!
You’ve done really good work here putting everything together, I’ve some suggestions you can consider applying to your code to improve the html markup/semantic:
Your background is applied but its not too similar to the design yet. Add background-size: contain
instead of background-size: cover
to make it display the size full width and center with the card vertically. Note that now is slightly different from the challenge design.
body {
background-image: url(./images/pattern-background-mobile.svg);
background-size: contain;
background-repeat: no-repeat;
/* background-position: center; */
display: flex;
justify-content: center;
align-items: center;
font-family: 'Red Hat Display', sans-serif;
padding: 0 25px;
height: 100vh;
margin: 0;
}
✌️ I hope this helps you and happy coding!
0