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