css-modules-electron icon indicating copy to clipboard operation
css-modules-electron copied to clipboard

Problems using "url()" on windows:

Open holywyvern opened this issue 8 years ago • 0 comments

I made this simple rule:

background-image: url("icon.png")

It's properly compiled into this:

background-image: url("<disk>:\<path>\icon.png")

But console says:

Failed to load resource: net::ERR_FILE_NOT_FOUND file///<disk>:/<path (with each / replaced with %0)>icon.png (notice how it even doesn't include the last ""

Shoudn't on windows be background-image: url("<disk>:\\<path>\\icon.png") instead?

holywyvern avatar Dec 26 '16 19:12 holywyvern