I am having a sample navigation menu , have a look
I want that the effect which I am having on the hover , I want the same effect when a link is clicked.The current link should have the same effect.I think I need to use jquery for that.Sorry if I am not explaining my question well.
Any suggestions are welcome , thanks.
I am having a sample navigation menu , have a look I want that
Share
you could use the pseudo-class
:active. (Its CSS for clicked state) and optionally:focus. If you want the effect to stay you gonna need to do it with jquery:then you can add you effect to the active class… Here is a demo:
http://jsfiddle.net/meo/kt4yb/6/
Or you could simply use the
:visitedpseudo class, if the your links point to different URL’s