When `url` uses custom property it is prepended with a path so that this background-image: url(var(--nice-view)); turns to background-image: url(/path/to/css/var(--nice-view)); Is there a way to avoid this?