June 26, 201214 yr Hi there, I'm hoping someone can help please. I've seen on a number of mobile sites how when a button is clicked (and you're waiting for the next page to load), the button towards to a different colour or style to indicate it has been clicked. I can't seem to figure out how to achieve this. Is it by using CSS or JavaScript? Can someone please point me in the direction, as I'm struggling to find any articles or tutorials that talk about it. Many thanks.
June 26, 201214 yr Author It's probably done using a:active. I thought so too, however a:active only applies the style when the button is pressed down, not once it's been clicked and waiting to move to the next page.
Create an account or sign in to comment