Fylo dark theme landing page

Solution retrospective
I made quite a few errors out there i'm sorry i'm really new to this.. by the way ,my relative Url on background image is not loading on the pseudo element why?
Please log in to post a comment
Log in with GitHubCommunity feedback
- @declanslevin
Hi Vincenzo,
The relative url isn't working because it is expecting the 'images' folder to be in the same folder as your CSS file. You need to go up a level in the directory tree to get to the images folder correctly, e.g.
url(../images/bg-curvy-mobile.svg);
.For relative paths,
.
points to the current directory, while..
points to the parent directory. You can chain..
together to go up several levels from your current directory e.g.../../../folder/file.ext
- @VincenzoMarcovecchio
hey man thank you for replying to me, you made my day, it's definitely something i have to practice and understand better :) thank you
Join 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