Relative Path's for background-image URL

Hey guys, can anyone help me understand why only the first url path is working?
No description
11 Replies
DoContra
DoContra•12mo ago
mano quando colocas dois pontos antes de qualquer direcao de ficheiro podes escolher o caminho dele
Jochem
Jochem•12mo ago
I appreciate you helping out, but please keep things in English so others can learn from it too
Almopt
AlmoptOP•12mo ago
what is the difference between using "../" and using "./" it's not the same?
DoContra
DoContra•12mo ago
try put background-image:url(../ ) and after ctrl + space and go show you all the options you can choose
Almopt
AlmoptOP•12mo ago
normaly I use that with "./" instead of "../"
Jochem
Jochem•12mo ago
./ describes the current folder, ../ describes the parent folder
DoContra
DoContra•12mo ago
you are not portuguese ?
Almopt
AlmoptOP•12mo ago
yes I am, but @Jochem asked us to speak in english Sporting crl! 😄
DoContra
DoContra•12mo ago
hahaaaha okok xD nada disso tas a estudar onde ? para precisares de html
Almopt
AlmoptOP•12mo ago
manda dm
clevermissfox
clevermissfox•12mo ago
you can add all your bg images to one tag too, background-image: url(../a.jpg), url(../b.jpg), url(..c.jpg);
Want results from more Discord servers?
Add your server