How to use RELATIVE file paths in Stylish?

In Stylish, I can use absolute paths like this: file:///C:/Program Files/Firefox/Data/profile/chrome/icon.png

How do you do the same for relative paths in Stylish?

If you are using userchrome.css, then you can make paths relative to the location of the userchrome.css file. But this does not work if you are using Stylish to apply css. All the information online regarding css relative paths only applies to userchrome.css, and it does NOT work for Stylish.

So how should a relative path be written when it is going to be used in Stylish?



Sign In or Register to comment.