background url and assets?

Is there a placeholder or similar so I can use background images in published css files?

e.g.

background: url({assets}/img.png);

Where {assets} would be replaced on a publish action?

Short answer: No.

You could use relative URLs and put the images + css e.g. in a folder and publish the complete folder.

Just put your image into the published css directory and use "background: url(img.png);".

Ah yes, forgot I could use relative paths.

:)