How do I trigger a file download when a person presses on a div that has a background image?
CSS:
.button{
background-size: 100% 100%;
background-repeat: no-repeat;
position: absolute;
width: 100%;
height: 17%;
bottom: 0;
}
HTML:
<div class="button">
</div>
Where do I have to put the file in order for the download to commence? Thank you in advance. The file name is "TheFile.pdf"