How to change an image's LINK via CSS

0

I'm editing a site where I only have access to an area to insert CSS. And I have a default image with a link, I could change the image using only the css, but I would like to know if there is (even knowing that it is totally against the web standards) I modify the link of this image through CSS. Note that I can only insert CSS lines.

    
asked by anonymous 11.03.2015 / 13:35

1 answer

4

Via CSS you will not be able to pass values to a <a href=""> attribute in html. You will only be able to do this through HTML or via JavaScript.

    
11.03.2015 / 13:42