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 |
Beta Was this translation helpful? Give feedback.
1 reply
-
You have to use an absolute URL so that the headless chrome can fetch the image. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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: true
but when set to false the background is blank.This image is in the public folder.
Beta Was this translation helpful? Give feedback.
All reactions