The download attribute allows files force to be downloaded on click like this:
<a href="../example.pdf" download>DOWNLOAD</a>
But one Webflow, the
download attribute is forbidden, and I have to add custom code to create such download buttons.
Does anyone have a good workaround for this?
download attribute to any link with a specific class or ID, e.g.
<a href="file" class="makedownload">. I am not sure how exactly the script should look like.
Thanks a lot!