FormidableLabs/radium

A solution to reference image in CSS

Open

#372 建立於 2015年9月29日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)JavaScript (352 fork)batch import
docshelp wanted

倉庫指標

Star
 (7,414 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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?

貢獻者指南