March 11, 2020
I am trying to reference an image that is in public/imgs/pix1.jpg in CSS file using background-image using URL but the image does not show.

What is the proper way of reference to the URL of the image?

I will appreciate any help
March 11, 2020
On Wednesday, 11 March 2020 at 22:11:24 UTC, GreatSam4sure wrote:
> I am trying to reference an image that is in public/imgs/pix1.jpg in CSS file using background-image using URL but the image does not show.
>
> What is the proper way of reference to the URL of the image?
>
> I will appreciate any help



Solve

The image did not show because I did not give it a height