@correlucas
Posted
👾 Hello Wesley, congratulations for your solution!
Nice that you've used mobile first approach for this solution!
Everything works good, there's only a quick for the mobile background image that's not filling all the background. Swapping from background-size: contain;
to cover
. See the code below:
background-image: url(./images/bg-mobile.svg);
background-repeat: no-repeat;
background-position: top;
background-size: cover;
background-color: var(--violet);
}
Hope it helps, congrats!
Marked as helpful
@wesleyjacoby
Posted
@correlucas Thanks man! I do mobile first because I find it easier than desktop. facepalm Haha
Thanks for the tip - I'll update the code! :) Glad to know I'm on the right track, even though it doesn't feel like it.
@correlucas
Posted
@wesleyjacoby You did good, I never did a solution with mobile first, I should try that. Congrats.