How to use a local image as background-image #24
AlexisWalravens
started this conversation in
General
Replies: 2 comments 1 reply
|
Hey @AlexisWalravens, you may try specifying |
1 reply
|
You have to use an absolute URL so that the headless chrome can fetch the image. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
How to use a local image as background-image (eg: from /public/..) ?
I tried something like this
background: url('../og-background.jpg');and it works withinspectHtml: truebut when set to false the background is blank.This image is in the public folder.
All reactions