Referencing an image in .css file in vibe.d

GreatSam4sure greatsam4sure at gmail.com
Wed Mar 11 22:42:18 UTC 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


More information about the Digitalmars-d-learn mailing list