I have an issue with Styling an object to make it look like a button and act as a functional link.
The effect i'm trying to achieve is to represent a button, so when clicked, it will begin to load the target page, but animate the object to visually represent a button being pressed.
Here is a (non-working) JS Fiddle as an example of the desired effect.
The first fiddle has no JavaScript in it for now, as i am currently a novice when it comes to manually typing it.
I have tried using pseudo classes, such as :hover
as a temporary solution, but it doesn't work as desired, and from what i've tried, every possible solution i have seen on other questions don't seem to resolve my problem
This JS Fiddle i found in another question provides some coverage of the topic, but i can't seem to make it work for images, it only works for text and any changes i try just seem to break it or make the object not work or even appear.
Any help with this would be greatly appreciated as i have been trying different methods for a few weeks.
Thanks in Advance