FormidableLabs/radium

A solution to reference image in CSS

オープン

#372 opened on 2015/09/29

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (352 件のフォーク)batch import
docshelp wanted

Repository metrics

Stars
 (7,414 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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?

コントリビューターガイド