FormidableLabs/radium

A solution to reference image in CSS

Open

#372 aberto em 29 de set. de 2015

Ver no GitHub
 (3 comments) (0 reactions) (0 assignees)JavaScript (352 forks)batch import
docshelp wanted

Métricas do repositório

Stars
 (7.414 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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?

Guia do colaborador