Design comparison
Solution retrospective
Please help me. I don't know why pictures are not showing up after I upload it to GitHub.
Community feedback
- @B1N4R1Posted over 3 years ago
Hi Anosh,
Great solution!
You should change
background-image: url('images/bg-pattern-card.svg')
tobackground-image: url('../images/bg-pattern-card.svg')
in thediv.patternBG
element, same with the rest of the images that won't load.Also instead of putting paddings and margins on the container to "center" the card, better to use flexbox. Try using less divs, like for example deleting
div.box
.Hope this helps!
Cheers!
Marked as helpful0@AnoshSohailPosted over 3 years agoHi @B1N4R1 Thankyou so much for these tips. I'll try😊
0 - @guztrilloPosted over 3 years ago
Hey Anosh. Make sure about the path of the background-image. I had the same problem using SASS, the image shows perfectly on localhost, but when I uploaded it doesn't show because of this. I fixed this changing the path.
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord