+ 1
Relative Vs Absolute Path
Can someone explain the difference between a relative and an absolute Path ? Any help would be appreciated !
1 Odpowiedź
+ 2
Relative is like shorthand. You will need to tell the file what the base path is in the head of your HTML file.
https://www.w3schools.com/tags/tag_base.asp
An illustration:
https://css-tricks.com/quick-reminder-about-file-paths/
(You can also accomplish this in a CSS preprocessor but it's pretty complicated.)
https://css-tricks.com/snippets/sass/simple-asset-helper-functions/