About this tool
Create with CSS Background Generator
Preview image positioning, sizing, repeat and gradient overlays, then copy matching CSS.
Upload a local image to preview cover, contain, positioning, repeat and an overlay. Set the published asset path separately; the generated CSS uses that path and does not embed or upload the source file.