Design comparison
SolutionDesign
Solution retrospective
How can I import images from the public folder?
I get an error doing background-image: url("/images/logo.png"); in a CSS file
Community feedback
- Account deleted
It an svg not a png, guess that's why it's not working, & the logo is in the mobile folder which is in the images folder, and you are missing that on the url.
- I've been seeing a lot of people switching to mobile view at 1439px... nobody should do this but somehow it ok to most of ya'll... what about the space that's left on the sides?
- When you switch to desktop while the mobile menu is still active, the navigation links get carried to desktop, resulting in two navigation links. One would have been just fine.
0@erwinruizPosted about 3 years ago@thulanigamtee Hi
I mean ".png" like an example, but yes, I tried with the correct path for other images.
Thanks for the feedback, I had already considered making those changes.
0
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