FormidableLabs/radium

A solution to reference image in CSS

Open

#372 geöffnet am 29. Sept. 2015

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (352 Forks)batch import
docshelp wanted

Repository-Metriken

Stars
 (7.414 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

With CSS file, you could reference images using relative path, it will use the relative path to the CSS file location.

With in JS file, this is not the case. If you reference an image using relative path, the path will be relative to displayed page which won't work with image files.

Will there be a solution to resolve this?

Contributor Guide