FormidableLabs/radium

A solution to reference image in CSS

开放

#372 创建于 2015年9月29日

 (3 条评论) (0 个反应) (0 位负责人)JavaScript (352 个派生)batch import
docshelp wanted

仓库指标

星标
 (7,414 个星标)
PR 合并指标
 (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?

贡献者指南