I am trying to add a background-image to "a" links inside a "div" but the image is not being displayed.
I also tripple checked the img path and it is ok.
What I tried is the following:
div a[href^='htt'] {
margin-left: $basismarge*4;
background-image: url("../../public_html/oefeningen/images/www.png");
}
This is a part of the index.html code:
<div>
<div>
<h1><a href="mailto:info@thomasmore.be">CSS3 Oefening 1</a></h1>
<span>Welkom</span>
</div>
<div>
<h2>© <a href="http://www.thomasmore.be/">Thomas More</a></h2>
</div>
</div>
<p><a href="../index.html"><i class="fas fa-home fa-3x"></i></a></p>
</body>```
With this I would have expected that the image would be showing.