canadezo Posted June 8, 2011 Share Posted June 8, 2011 I was wondering how you can make a hover effect on an image. I seen it done many times before; to be a little more detailed; when you hover an image, on the top right corner there will be an "X"... The point is so that viewers can hover over an image they don't want and the X will be the delete button; and of course, when they take the mouse off the picture, the X goes away. I'm sure most of you may have seen it done before. Quote Link to comment https://forums.phpfreaks.com/topic/238738-css-hover-trick/ Share on other sites More sharing options...
fugix Posted June 8, 2011 Share Posted June 8, 2011 to create hover effects, you can use either javascript...using a combination of the onmouseover and onmouseout events. Or, you can use css and the :hover pseudo-class. this website here has a pretty neat example if something similar Quote Link to comment https://forums.phpfreaks.com/topic/238738-css-hover-trick/#findComment-1226788 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.